We recently added support for the latest version of Google Analytics tracking code but haven't posted an update our help page accordingly yet, as we're actually in the middle of a major update to all of our help/documentation pages.
Further instructions to follow.
# POSTED ON: September 23, 2008 @ 17:36 GMT -7 MODIFIED ON: September 23, 2008 @ 17:40 GMT -7
I'll have to ask Development to look into this, as it appears you're trying to do something above and beyond the standard Analytics integration we document and officially support.
I can tell you that for order payments made via Google Checkout, GC is able to directly transmit eCommerce data for tracking, regardless of whether the buyer continues past checkout to any conversion/thank-you page with tracking code.
It seems to me that code found on the ejunkie page will NOT suffice for eCommerce tracking, which for those reading who might not know goes above and beyond standard google analytics tracking. You are actually on the right track with the way you added google's recommended code after e-junkie's code. Obviously, what you are missing are the values that need to be passed, such as price. Unfortunately, according the e-junkie "redirection" page mentioned above, all the pertinent info involved in a sale is missing when redirecting to a custom thankyou page (with the exception of txn_id.) I believe all of our problems would be solved if e-junkie would send more variables to the thank you page, such as total price, etc (basically all the variables you see as "customizable" on a generic e-junkie thankyou page per the "customization" help page above.)
Having said all that, I'm hoping I have stumbled across the thread I've been looking for. (If I've repeated a bunch of stuff already understood by most, I apologize. I needed to clarify everything for myself to make sure I'm in the right place.) Does this sound like what you are trying to do?
If you check your transaction logs, e junkie collects all the data. They just need to support the javascript code that sends the data to google analytics.
What is your transaction process like? What kind of thank you page are you using? Will any kind of thank you page setup send the necessary e-commerce data to GA?
I am redirecting all my buyers to another URL that I designed, and I have my google analytics code on this page. I have a credit card provider, paypal, and google checkout. All of which have been recorded with 95% accuracy for tracking conversions. (E junkie has stated that sometimes using paypal and other parties will not redirect).
I am using a custom designed thank you page as well. So far, I am only using the e-junkie-recommended analytics code and have not put any ecommerce tracking in (although I would like to.)
"Will any kind of thank you page setup send the necessary e-commerce data to GA?"
I think the unfortunate answer to that right now is no. It doesn't appear e-junkie supports Google's ecommerce tracking code...at least not from a custom thankyou page. (Any other type of support is useless to me, as I only want to ever use a custom thankyou page, and it sounds like you do too.) The javascript e-junkie provides simply does not do everything ecommerce tracking needs, and the redirection they provide does not send enough data for us to use in google's supplied javascript. A lot of those variables ARE however included in the "integration" link, which is the link e-junkie will POST all the transaction data to, but unfortunately that would fall outside the user's analytics tracking session.
"E junkie has stated that sometimes using paypal and other parties will not redirect"
Hm, I wasn't aware of that. Do you mean when people purchase through paypal they sometimes won't even get to our custom thankyou pages?? That could explain why some of my goals seem to activate less than I would assume they would. I probably get more paypal purchases than google checkout on average.
I think the solution for this falls in e-junkie's hands. We simply need the values for all of these variables you listed passed to the custom thankyou page:
pageTracker._addTrans(
"order-id", // required
"affiliate or store name",
"total",
"tax",
"shipping",
"city",
"state",
"country"
);
At the moment, consistent/complete E-commerce tracking is really only possible with Google Checkout, since GC can send E-commerce tracking data directly from their end without any involvement from us.
The tradeoff you have to accept when accepting PayPal payments is that you won't get consistent nor complete tracking of any sort, since PayPal cannot automatically redirect a buyer to any thank-you page after completing Checkout, and many-to-most buyers may not bother to voluntarily click the "return to merchant" link once they've finished Checkout on PayPal's site.
See more details about how the different payment processors handle the checkout-to-thankyou transition, as described at the top of our Tracking help page here: http://www.e-junkie.com/ej/help.tracking.htm
I am interested in a solution to this integration as well. I followed the conversation above and finally thought to follow Tyson's advice on handling the tracking on Google Checkout side. In other words, is there a way to link Google Checkout and Google Analytics to track everything? Here is what I found...
However, it seems that you need to have their checkout buttons to be able to use the above code (you need the <form> tag).
So far so good. My questions is, can we customise e-junkies buttons or the cart, to integrate this code, or what Google wants, so that we finally start getting data from the e-commerce side.
Tyson, you mentioned that e-commerce can be handled on Google side, perhaps you can tell us about this a bit more.
Then activate the e-commerce tracking in analytics and the rest is taken care of by e-junkies and google checkout. I should then expect to see ecommerce data on those purchases who used Google Checkout to process their payments. Is this correct? Do I need to do anything else? Is anyone able to see any results in analytics using e-junkies? At the moment this is what I have done, and I can't see any data in analytics!
Has anyone succeeded with this?
After thought: I read somewhere that multi domain tracking by google doesn't work if the tracking code in the javascript is different on both domains. Doesn't this mean that ejunkies should use the same tracking code as we do on our site and use it on their shopping cart when the domain is transferred? Is this the reason why it doesn't work?
I appreciate any help. Ecommerce data is like gold. It would be a wonderful feature for the already quite cool ejunkies services. So it's certainly worth investing time and effort in.
Designated trademarks and brands are the property of their respective owners.
Use of this Web site constitutes acceptance of the Terms of Service and Privacy Policy.