简体   繁体   中英

Event tracking especially on Emails google analytics not working

Good day all, I am trying to place this image in some emails I am sending out to track if the emails are opened and images are downloaded.

Image with source: src="https://www.google-analytics.com/collect?v=1&tid=UA-########-#&t=event&ec=email&ea=open&el=openmail&cm=email"

However no events are triggered on google analytics when the image is downloaded, could this be because of a syntax error in the image URL ?

All other google analytics campaigns such as page view tracking still works fine.

For one thing, it doesn't include a cid parameter which is required. You can add debug to the hit and see the status message returned through your browser. Alternatively you could try the Google Hit Builder to validate/build your hit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM