Setting Up Variables
Before adding any tags using Deviate Tracking, you need the following four items: your license key, the email that you started your subscription with, your Facebook Access Token and your Facebook Pixel ID. Saving these as GTM variables will help you to avoid having to copy and paste them each time you create a tag. In the event you don’t know how to get those variables, please go to the next section.
You should save these four items as variables in Tag Manager. Click on the Variables tab on the left, then choose the Constant variable type. This might seem like a hassle, but it will save time in the long run.
The pixel ID indicates which pixel Deviate Tracking should send data to. You can get it from inside Facebook Events Manager at the top right of the Overview tab.
Facebook Access Token
Deviate Tracking uses the access token to prove that it has permission to send data to your pixel. You can get it from insideFacebook Events Manager. Go to the Settings tab, then scroll down to the Conversions API section. Click the link titled Generate access token and then copy the text it produces.
License Key and Email
Your license credentials are in your subscription’s confirmation email. If you can’t find it, try searching for emails from [email protected] or checking your spam.
You can then add your variables into the GTM tag by clicking the following button
- Your Facebook Pixel ID
- Your Facebook access token
- Your Deviate Tracking license key
- Your Deviate Tracking license email