2. Setting up Google Analytics tracking pixels.
2.1. Google Analytics using Google Tag Manager (GTM).
2.2. Google Analytics using GA4.
2.3. Campaign identifier for your Analytics URLs.
3. Setting up Meta tracking pixels.
4. Setting up tracking pixels for other systems (AdRoll, Google Marketing Platform...).
4.1. Tracking pixels across the entire campaign.
4.2. Tracking pixels on the thank-you page.
1. Introduction.
In this tutorial we will explain what tracking pixels are, how to set them up, and where to add them to track your campaign.
You will find five types of tracking pixels:
1) Google Tag Manager ID (GTM-): a tag manager for page views in Google Analytics. It can also be used to track conversions in Google Ads. Its use is not mandatory. If you provide this pixel, we will take care of the rest.
2) Google Analytics identifier (G-XXXX): the identifier provided by Google Analytics. If you do not have access to Google Tag Manager, providing your GA4 ID is enough.
3) Campaign identifier for your Analytics URLs: this pixel will make the URLs of your campaign appear in our Analytics as "/promos/your-identifier/" instead of "/promos/promo-id/".
4) Tracking pixels: codes that provide information about visits to the campaign. They will let you know when a user accesses each page of your campaign.
5) Conversion pixels: this code records whether conversions have been generated (for example, whether a user has completed a form or not). If you add your GA4 ID, these pixels will be added automatically.
Tracking pixels are configured in the "Tracking & Cookies" section > "Tracking" tab of your campaign editor.
2. Setting up Google Analytics tracking pixels.
2.1. Google Analytics using Google Tag Manager (GTM).
You must have an account at https://tagmanager.google.com/. Once inside, locate your ID on the Tag Manager home page.
We only need the ID, not the full pixel. Copy it and enter it in the corresponding field in your campaign editor (Google Tag Manager ID (GTM-????)).
2.2. Google Analytics using GA4.
If you do not have Google Tag Manager, you can add your Google tag ID to your campaign. This lets you track your campaign traffic and tell Analytics which account and property should receive the data.
If you do not yet have an Analytics account or want to create a new GA4 property, see the tutorial Find your Google tag ID.
The Google tag ID is a string similar to G-XXXXX. To find it:
1) Go to https://analytics.google.com.
2) Click on Admin.
3) Select the account and then the property whose ID you want to retrieve.
4) Click on Data streams.
5) Select a data stream from the list.
6) You will find the ID in the stream details.
Go back to your Cool Tabs campaign and enter the identifier in the corresponding field in the editor. You must add the full identifier (including the G-).
2.3. Campaign identifier for your Analytics URLs.
In the "Tracking" tab, you will also find a field for the "Campaign identifier for your Analytics URLs". This identifier lets you filter and isolate the traffic from this specific campaign within your Analytics property, especially if you use multiple campaigns or domains.
Enter the name you want to use to identify your campaign's tracking data in Google Analytics.
To track the pixels, go to Google Analytics, select the corresponding property, filter by date, and search for your identifier. You will see all the tracking data you previously set up.
3. Setting up Meta tracking pixels.
3.1. Meta tracking pixel.
To locate the Meta pixel:
1) Go to https://business.facebook.com/.
2) If you have not yet created a Meta pixel, click on "Events Manager".
3) Click on "Connect data".
4) And finally, click on "Web".
Under connection method, select "Meta Pixel" and click "Connect". Give the pixel a name and add your website URL.
The pixel identifier appears in the "Datasets" section.
Once generated, go to the "Tracking & Cookies" section of your campaign editor. Enable the "Include Meta tracking pixel" option and enter the pixel identifier.
By enabling the Meta pixel and adding the ID to your campaign, you will be able to track participant actions. You will get data on two events:
A "PageView" event on all pages. The default pixel tracks visits to your campaign pages.
A "CompleteRegistration" event when a participant completes the registration form in the campaign.
4. Setting up tracking pixels for other systems (AdRoll, Google Marketing Platform...)
You can include as many tracking pixels as you need. These pixels are always rendered at the end of each page's tag.
Cool Tabs offers three different locations for inserting your code, depending on what you need to measure and where your provider requires the script to be placed: across all campaign pages, only on the thank-you page (conversion), or in the <head> of the document.
To track with another ad manager, you will need a tracking code provided by that vendor.
4.1. Tracking pixels across the entire campaign.
Use this option when you want to measure visits and user behavior across all campaign pages (for example, for remarketing or to analyze the participant's full journey), not just the final conversion.
To include pixels across the entire campaign, enable the "Display your own tracking Javascript code" option and paste the code into the "Tracking code" box.
By default, this pixel is included on all pages. If you do not want it included there because you are using a separate conversion pixel (see section 4.2) and want to avoid double-counting, check the "Do not include this tracking pixel on the thank-you page" option.
4.2. Tracking pixels on the final page.
Use this option when you only need to measure conversions, without tracking the rest of the campaign pages.
To include pixels on the thank-you page, enable the "Display your own conversion Javascript code in the final page" option and paste the code into the "Conversion pixel" box.
This code will be rendered each time a participant completes their entry in the campaign.
By default, this pixel fires every time a user participates. If you only want it to fire the first time a user participates (to avoid counting duplicate conversions from the same participant), check the "Fire conversion pixel only the first time a user participates" option.
4.3. Tracking pixels in the document <head>.
Use this option only if your provider explicitly requires the script to be loaded in the <head> (for example, some domain verification tools or certain Google Ads/Google Marketing Platform tags that do not work correctly when loaded at the bottom of the page). For all other cases, use the option in section 4.1.
Enable the "Display your own tracking Javascript code in the <head> element of the document" option and paste the code into the "Tracking pixels for the <head> element" box.
Note that this pixel will always be rendered, even if you use the cookie manager. If you want to include a pixel that only fires after the user has given their consent, add it in the "Custom pixel" section of the cookie manager instead.
5. Other specifications.
All pixels (Google, Facebook, other systems) are compatible with each other. You can fill in all options.
Two conversion pixels can be rendered at the same time, as long as they are separated by line breaks.
For any questions, contact us at help@cool-tabs.com.
6. Related content.
How to get your Google Analytics tracking ID (GA4 code).
How to add a cookie consent popup and tracking pixels to your campaign.
Comments
0 comments
Please sign in to leave a comment.