We need to track conversions that occur on a third-party site. The only thing we can post on this site is an image pixel and possibly some kind of JS logic in order to run it.
I know that you can perform the conversion using the measurement protocol: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#visitor
Ideally, I would just give a third party an IMG URL, and that would be so. The problem is the CID (customer unique identifier).
I can try to pass the CID from our site to a third party through the URL parameter. However, there are many cases when it is not available (for example, IMG-pixcel will be in the email, the target URL is in the printed literature), or the third party does not want to go through the hassle. Is it better to use this CID in this way?
I can try to create a CID, but I cannot find an easy way to do this, for example var CID = generateCID (). A third-party site has its own GA on the page. Can I just use my Google Analytics ID and use it in the image pixel url?
What is the best way to do this? Thanks!
Vlad source share