Push Snitcher company data to the Google Tag Manager dataLayer, making it available for use in tags, triggers, and variables throughout your GTM container.Documentation Index
Fetch the complete documentation index at: https://docs.snitcher.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup Overview
- Configure the Spotter callback to push data to the dataLayer
- Create Data Layer Variables in GTM
- Use those variables in your tags
Step 1: Push Data to dataLayer
Using getSpotterIdentification() (Recommended)
Using Callback (Legacy)
DefineSpotterSettings before the Snitcher script loads:
No API token is required. Make sure your domain is authorised in the Spotter settings before getting started.
Step 2: Create Data Layer Variables in GTM
- Sign in to Google Tag Manager
- Navigate to Variables → User-Defined Variables → New
- Configure each variable:
| Variable Name | Data Layer Variable Name | Version |
|---|---|---|
| SnitcherCompanyName | snitcher.name | Version 2 |
| SnitcherCompanyDomain | snitcher.domain | Version 2 |
| SnitcherCompanyIndustry | snitcher.industry | Version 2 |
| SnitcherCompanySize | snitcher.size | Version 2 |
- Click Variable Configuration → Data Layer Variable
- Enter the Data Layer Variable Name from the table
- Set Data Layer Version to Version 2
- Click Save
Step 3: Create a Trigger (Optional)
To fire tags when a company is identified:- Go to Triggers → New
- Choose Custom Event
- Set Event name to
snitcher_identified - Save the trigger
Using the Variables
Once configured, use{{"{{SnitcherCompanyName}}"}}, {{"{{SnitcherCompanyIndustry}}"}}, etc. in any tag:
Example: GA4 Event
Create a GA4 Event tag with these event parameters:| Parameter Name | Value |
|---|---|
| company_name | {{"{{SnitcherCompanyName}}"}} |
| company_industry | {{"{{SnitcherCompanyIndustry}}"}} |
| company_size | {{"{{SnitcherCompanySize}}"}} |
Example: LinkedIn Insight Tag
Use company data to build retargeting audiences based on company attributes.Available Data
| Variable | Description |
|---|---|
snitcher.name | Company name |
snitcher.domain | Primary domain |
snitcher.industry | Industry category |
snitcher.size | Employee range |