Google Tag Manager | Layout - 365-Holdings/HRL_Analytics_framework GitHub Wiki
Placing GTM Scripts
Shopify scripts
- Go to your Shopify admin site.
- Click on “Customize”
- Click on “Edit code”
- Click on “{/} theme. liquid”
- Find body section.
- Save and refresh your site to see the results.
Webflow scripts
- For better understanding on where to place custom scripts inside of webflow, please visit the Webflow Documentation on placing script tags.
GTM Components
Tags | Triggers | Variables
- Tag: A tag is code that send data to a system such as Google Analytics.
- Trigger: A trigger listens for certain events, such as clicks, form submissions, or page loads. When an event is detected that matches the trigger definition, any tags that reference that trigger will fire.
- Variable: A variable is a named placeholder for a value that will change, such as a product name, a price value, or a date.
Data Layer
- Data layer: Tag manager implements a data layer to temporarily hold values in the client so that they can be used by tags, triggers, and variables.
- As of August, 2021, Elevar has setup the Data Layer.
For more information on GTM Components, visit the Google Support Docs
Primary Knowledge Sources: