Hi-
I have what I think is a rather simple problem but so far I've been unable to solve it. Here's the situation. I have an eCommerce website that uses a third-party shopping cart. So, the product is listed on www.my-store.com, but the checkout process is completed via www.my-cart.com. I actually own both domains, so I am able to make any changes to either one as necessary. When you click the "add to cart" button on my-store.com, the form post goes to a local page on my-store.com, which performs some actions, and then is forwarded to my-cart.com, which does a few more things and forwards two or three more times. So by the time your browser shows you the next page on the my-cart.com actual checkout process, any hope of keeping the original cookie via GA tracking seems to be lost. My solution for this problem was to add an <iframe> on the checkout pages (each step). The iframe is from my-store.com and contains the GA tracking code. All of that is actually working, and I can track the steps through checkout, see the eCommerce transaction, item purchase, dollar amount, etc. My problem is that if someone adds something to their cart on my-cart.com, and THEN clicks "continue shopping," which takes them back to my-store.com, GA resets the referer to my-cart.com, instead of what it was originally. What I need is a way for GA to ignore my-cart.com as the referrer and keep the original one intact. Is there some magic config I can use in the iframe code or on the shopping cart page itself that tells google not to overwrite the original referrer?
Note that I am using the current async version of GA (e.g., _gaq.push, etc.).
Thanks,
Bill
Submit Your Article
Forum Rules

Reply With Quote