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.
Main Page Pixels
These are triggered when a visitor views your landing page.
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, and navigate to the HTML settings in the left menu panel.
Step 3: Now replace the HTML content with your tracking pixel code.
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.
<script>
ga('send', 'event', 'MailMunch', 'View Form', 'Popup');
</script>
2. Subscribe Pixel
Paste the following in the subscribe pixel text box.
<script>
ga('send', 'event', 'MailMunch', 'Subscribe', 'Popup');
</script>
Similarly, you will find event tracking pixels for all popular services such as Facebook, Mixpanel, Intercom, etc.