Firing Google Analytics Event via IMG URL

I would like to fire a GA event on a third party domain without putting any tracking code there. One option is to track this using Google Tag Manager, but we only need to track one simple event and the third party might not need to track code or iframe.

I am assuming I can encode GA event information into google-analytics / url? etc and assign it to the src attribute of the IMG. The third party then needs to post the image on their site. This seems to generate all the information needed to generate the url: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters

I can pass the client visitor id (the value of their _ga cookie) from my source domain to a third party domain using the url parameter in the hyperlink and then populate it into the url of the IMG url. This seems to be a must.

Is there something I am missing? Will this work? Any long term problems?

+3
google-analytics event-tracking


source to share


No one has answered this question yet

Check out similar questions:

52
What is Customer ID when sending tracking data to Google Analytics via Measurement Protocol?
6
How do I create a tracking pixel with Google Analytics for a third party site?
3
How to track Google Analytics click-throughs with Universal Analytics
3
Google Analytics Protocol Event Tracking: Non-Logging Events
2
Tracking Google Analytics events using jQuery Event API v1.3 does not receive any response data after clicking download link
1
Google analytics - track events in iframe but not pageview.
1
Email tracking is not displayed correctly.
1
How to link front end and back end events in Google Analytics?
0
Google Analytics cannot track feature within feature



All Articles
Loading...
X
Show
Funny
Dev
Pics