Forum Moderators: DixonJones

Message Too Old, No Replies

Need help with cross-domain Google Analytics tracking

         

Tehuti

12:08 pm on Jul 8, 2017 (gmt 0)

10+ Year Member Top Contributors Of The Month



Is it possible to use cross-domain Google Analytics tracking if you can't place the Analytics code on every domain?

I want to track sales on my website. In order to buy my product, customers have to go through this sequence:

my website > website 2 (redirect) > website 3 > website 2 (redirect) > website 4

On my website, customers click the Buy Now button, which takes them to website 2. This redirects them to website 3, where they make their payment. Customers then click a link to website 2 again, which redirects them to website 4, where they download the product.

I can add the Analytics code only to my website, website 3, and website 4. I can't add it to website 2.

Is cross-domain tracking possible?

RhinoFish

7:41 pm on Jul 8, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Here: [support.google.com...]

Where it says "To do this, the Analytics tracking code has linking features that allow the source domain to place the customer ID in the URL parameters of a link, where the destination domain can access it."

On your website 2 redirects, does that domain allow you to append query strings and to pass them along via Query String Appended feature? If so, you can make this work.

If your website 2 drops appended URL parameters on redirect, it's still possible to embed then extract the data (in url versus appended parameter), but to do this, you'll need to control the programming on website 3 and website 4.

Tehuti

5:35 pm on Jul 10, 2017 (gmt 0)

10+ Year Member Top Contributors Of The Month



Thanks, RhinoFish.

No, website 2 doesn't allow me to append query strings, and I don't have control over the programming of websites 3 and 4.

I guess this means it's not possible. :-(