This guide is designed to assist you in setting up your account for generating email tracking pixels. In this setup guide, you will learn about:
Before diving into the pixel builder, you'll need to fill out some details on these tabs to connect your GA4 and email platform. It's a straightforward process, and it's important for making sure everything works smoothly.
When you upgrade, you'll notice three new tabs in your account settings—each designed to get you set up and ready to go:
Make sure you have the green light to track email opens. It’s good practice to let your email recipients know what you’re doing with a clear heads-up—this helps keep everything above board and avoids any legal snags. Remember, while we handle the data processing and can sign a Data Processing Agreement (DPA) if you need one, you should definitely touch base with your legal advisor, especially if you're in the European Economic Area, to make sure everything is in tip-top legal shape. We're here to help with the tech, but the privacy policy part is on you!
Always a good idea to familiarize with basic technicalities of the process 🤖. Here it is:
Email opens are unique interactions that don't occur directly on your website, which is why the usual GA4 or GTM tracking codes can't capture them. Instead, we use the Measurement Protocol. This approach treats email opens as "offline" interactions, so each hit starts a new session and creates a new user* in your GA4—this will be clarified further on.
💡 A "user" in GA is identified by a client ID. If you are storing client IDs you can configure the pixel to utilize it, in which case, hits for email opens will not generate new users ✌
If you're familiar with how the Measurement Protocol functioned with Universal Analytics (UA), you'll find that it's been significantly updated for GA4. The UA version of the Measurement Protocol primarily utilized a tracking ID and did not require an API secret key. We were able to send data to Google Analytics by constructing a URL with the appropriate parameters. GA4’s Measurement Protocol now requires an API secret key for the same task.
This change enhances security as the API secret key is used to authenticate data sent to Google Analytics. While there are more differences, the use of the API secret key is the primary change relevant to us. For a deeper dive into the GA4 Measurement Protocol, we recommend looking at the developer documentation.
Currently, the GA4 Measurement Protocol doesn’t support the passing of UTM parameters with each hit 😮. Instead, we use additional event parameters to relay campaign-related information from your emails to your GA4 account. This ensures that you still receive valuable insights about where your traffic is coming from and how your campaigns are performing.
In order to report on these attribution parameters, you'll have to set them up as custom dimensions, just like other event parameters.
Before you dive into creating pixels for email tracking, it's crucial to get your account properly set up. Follow these straightforward steps to ensure everything is in order:
Go to "Set Up GA4" tab in your TrackFunnels Account Settings and update the required fields.
Go to "Email Tracking Settings" tab in your TrackFunnels Account Settings.
These settings are related to the email platform you use and will determine the data quality of your tracking. Please be very careful when setting this up.
Congratulations 🎉🎈 Your Pixel Builder is now ready to use but continue reading to know how to use it!
If you encounter any issues, don’t hesitate to reach out for help. We’re here to support you! Additionally, we’ve ensured that the forms validate the information you enter, minimizing the chance of errors in event or parameter names. Wherever possible, follow the guidelines we provide to optimize your setup.
The Pixel Generator Form is designed to be user-friendly and adaptable, featuring several fields that allow you to tailor how events are tracked in your GA4 account. Don't worry if you're unsure about any field; helper links are available at each step to guide you and explain the details.
Whenever someone opens an email, this action is recorded as an event in GA4 via the Measurement Protocol. Please note that there might be a slight delay in data reporting as we batch hits to conserve resources.
There are specific rules for naming events and parameters in GA4. While we've implemented form validations to adhere to these standards, it's a good idea to familiarize yourself with these rules yourself here.
After you generate a pixel, it will be saved automatically to your Pixels Dashboard. You cannot edit a pixel once created, but you can delete it if necessary.
We advise against using too many unique event names for your emails. To keep things simple, every event you track will include a default parameter named email_status
with the value open
. You might choose a general event name like email_performance
to encompass both opens and clicks.
To cover all possible scenarios we have 13 paramaters available with each email event. This is well below the GA4 limit of 25.
We've provided space for parameters based on their usage. Here are all the parameters you'll be able to use:
email_subject
email_content
email_status
(This is a parameter with constant value of 'open')email_contact_id
email_open_time
email_attribution_campaign_id
email_attribution_campaign
email_attribution_source
email_attribution_medium
email_attribution_term
email_attribution_content
email_extra_param
(to cover any use cases not covered here)Now that you have started to create pixels and collecting data, it is time to set the event parameters in your GA4 account to make full use of them and utilize the Explorer reports.
In order to do this, its advisable to create a custom dimension per event parameters that you send in your emails. Once you have set up the custom dimensions your parameters can be easily used to run your analysis.
And that’s it! You now know how to track email opens in your GA4 account :)
Happy tracking! 🎸