Examples
Data Layer Variables in Tag Manager
You can record company attributes as Data Layer Variables in Tag Manager, allowing you to easily re-use them in other tags, triggers, or variables.
Here’s how:
- Sign in to Google Tag Manager.
- Click the Variables tab, find the User-Defined Variables box, and click New.
- Fill out the data layer variable form: Replace Untitled Variable with the suggested Variable Title in the table below. Click Variable Configuration, then select Data Layer Variable. Fill out Data Layer Variable Name with the value provided in the table below. Set Data Layer Version to Version 2. Click Save.
Repeat the steps above for all Snitcher identification data variables you’d like to have available as data layer variables. Here’s an overview of the most commonly used:
Variable Title | Data Layer Variable Name |
---|---|
SnitcherCompanyName | snitcher.name |
SnitcherCompanyDomain | snitcher.domain |
SnitcherCompanyIndustry | snitcher.industry |
SnitcherCompanySize | snitcher.size |
- Update your Spotter callback function