Reputation: 11
So before GA4 came into effect I would use what this documentation page describes in order to add a 1x1 beacon to the end of emails in order to track email opening using Google Analytics.
This would result in an HTML code like so:
<img border="0" src="https://www.google-analytics.com/collect?v=1&tid=<PROPERTY_ID>&cid=<CLIENT_ID>&t=event&ec=email&ea=open&cs=campaign&cm=campaign&cn=campaign_001&dp=%campaign_001%2Fopen" width="1" height="1">
But I'm lost when it comes to the way the new GA4 Measurement Protocol works. Is it still possible to do what this code did? If so, how?
Upvotes: 1
Views: 1370