Google Tag Manager (GTM) serves as a container for tags (scripts). It makes it easy to add and manage multiple scripts in one place, such as your Match2One pixel.
If you don't already have a GTM account, sign up here.
Once registered, you’ll be prompted to add an account. If you manage multiple websites, assign an account to each website.
After accepting Google’s terms and conditions, follow the instructions you see to add the code to your site.
Add Match2One pixel to Google Tag Manager
'Page View' event
Go to Google Tag Manager, log in to your account, and select the container for your website.
Click Add a New Tag.
In the tag configuration, select Custom HTML Tag.
To pull up your Match2One 'Page view' pixel, navigate to Match2One > Tracking > Installation instructions (cogwheel icon at the top) > Page view. If you advertise within the EEA, make sure to set up user consent. Copy the script.
Paste the script into the HTML text area (see example below).
Scroll down and click Triggering.
Choose All pages as a trigger.
Example:
Other events
Go to Google Tag Manager, log in to your account, and select the container for your website.
Click Add a New Tag.
In the tag configuration, select Custom HTML Tag.
To pull up your Match2One event pixel, navigate to Match2One > Tracking > Installation instructions (cogwheel icon at the top) > Events. If you advertise within the EEA, make sure to set up user consent.
Copy the script and substitute the variables highlighted in yellow.
Paste the script into the HTML text area (see example below).
Link trigger to related custom event.
Example:
Variable setup
Create user-defined variables in the variables folder - select Data Layer Variable option. You can find this data in the dataLayer of the events we will track, e.g., SignUp, First-time Deposit, Deposit.
Add them to the new dataLayer (see example below).
After doing these, you can reference them in the tag/script.
Example: