Skip to main content
All CollectionsLanding Pages & PopupsLanding Pages
How to use tracking pixels in landing pages?
How to use tracking pixels in landing pages?

Learn where to add your Google Tag Manager tracking pixels in landing pages.

Written by Lori Naeger
Updated over a week ago

Tracking pixels let you send impression and conversion data to your favorite analytics services such as Google Analytics, Facebook, Mixpanel, and others. In your landing page, you can put tracking pixels to track when the landing page is viewed or when the user has subscribed.

  1. Main Page Pixels
    These are triggered when a visitor views your landing page.

  2. Thank You Page Pixels
    These are triggered when a visitor successfully subscribes using a form in your landing page.

How To Put The Tracking Pixels?

Step 1: First drag the HTML content to your landing page.

Step 2: Click the newly added content block in your landing page.

Step 3: Now replace the HTML content with your tracking pixel code.
Note: While it is suggested to add the GTM code in the head section, it's not required. Adding it at the top of your page so it loads first should still provide accurate data.

What Should I Put In Tracking Pixels?

All valid tracking pixel codes are usually <script></script>, <img> or <iframe> tags.
Here is an example for Google Analytics.

  • Google Analytics Example
    Click here to learn more about Google Analytics event tracking. If you want to track a form view or subscription in Google Analytics, it will look something like this.

    1. View Pixel
    Paste the following in the view pixel text box. You can change the values such as 'View Form' or 'Popup' to what you like. These are used to categorize data in Google Analytics.

    ga('send', 'event', 'BenchmarkONE', 'View Form', 'Popup');

    2. Subscribe Pixel
    Paste the following in the subscribe pixel text box.

    ga('send', 'event', 'BenchmarkONE', 'Subscribe', 'Popup');

Similarly, you will find event tracking pixels for all popular services such as Facebook, Mixpanel, Intercom, etc.

Did this answer your question?