Hi,
I am looking to set up cross-domain tracking between my website and a
third-party shopping cart website. I have read the relevant
documentation here:
http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#domainAndSubDirectory
As far as I understand, I should replace the link to the shopping cart
with the link like follows:
<a href="pageTracker._linkByPost('
www.example-commerce-host.com/
petStoreCart/legalTerms.php');"
Currently, the link to the cart points to a PHP file on my domain
containing header:("Location:...") that redirects to the actual third-
party cart domain. This is a great convenience for me, because when I
want to change the third-party shopping cart website, I only modify
this PHP file, without having to change all links on my website and in
other places.
However, I am confused how I set up the cross-domain tracking in this
case?
Thanks!