Step 3: Link Variable to the Ternair Clicks Tag
In this final step, you'll link the GTM variable to the Ternair Clicks tag.
Instructions
- In Google Tag Manager, go to Tags
- Open the Ternair - Clicks Tracking tag
- Scroll to the Additional mapping section (or "Additional Fields")
- Click Add Row
- Fill in the fields:
| Field | Value |
|---|---|
| Ternair fieldname | The exact tag name from Ternair (e.g., product_id) |
| Value | Select the GTM variable (e.g., {{Ternair - Product ID}}) |
- Click Save
- Test the configuration in Preview mode
- Publish the changes when everything works correctly
Important
The Ternair fieldname must exactly match the tag name you created in Step 1 in Ternair. This is case-sensitive!
Testing
- Click Preview in Google Tag Manager
- Open your website in a new tab
- Navigate to a page where the tag should fire
- Check in GTM Preview:
- Whether the Ternair tag fires
- Whether the variable has the correct value
- Whether the value is correctly passed
Publishing
When you've verified that everything works correctly:
- Click Submit in Google Tag Manager
- Give your version a descriptive name
- Click Publish
Next step
See the Checklist & Troubleshooting for an overview and common issues.