E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2009, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Wed, 29 Apr 2009 10:25:07 GMT Sat, 21 Nov 2009 19:21:42 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #17 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Wed, 29 Apr 2009 10:25:07 GMT
I am trying to get some ecommerce data and I still cant succeed so I want to know what is currently possible.

From what I understand, I need to put the following on each page (with the appropriate tracker code of course)

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var ejGATracker = _gat._getTracker("UA-XXXXX-X");
ejGATracker._setDomainName("none");
ejGATracker._setAllowLinker(true);
ejGATracker._trackPageview();
</script>

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.]]>
E-junkie Discussions; Henry
Post #16 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Sun, 19 Apr 2009 17:53:06 GMT
Google has a handy guide on this: http://code.google.com/apis/checkout/developer/checkout_analytics_integration.html#Tracking_Checkout_Orders

Basically they suggest using the following code, which contains the usual Analytics code as well as some extra:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3Cscript%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-XXXXX-X");
pageTracker._initData();
pageTracker._trackPageview();
</script>

<script src="http://checkout.google.com/files/digital/ga_post.js"
type="text/javascript">
</script>


<form action="..." method="POST" onsubmit="setUrchinInputCode(pageTracker);">
<input type="hidden" name="cart" value="...">
<input type="hidden" name="signature" value="...">
<input type="hidden" name="analyticsdata" value="">
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="http://checkout.google.com/buttons/checkout.gif?merchant_id=YOUR_MERCHANT_ID
&w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180"/>
</form>


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.

Thanks]]>
E-junkie Discussions; Henry
Post #15 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Thu, 22 Jan 2009 23:14:42 GMT
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]]>
E-junkie Discussions; Tyson
Post #14 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 20 Jan 2009 23:36:30 GMT
I think we are stuck until development gets back to us.

Tyson - any timeline on when this will happen?

Thanks,

Matt]]>
E-junkie Discussions; Matty
Post #13 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 20 Jan 2009 02:27:18 GMT
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"
);

pageTracker._addItem(
"order-id", // required
"SKU",
"product name",
"product category",
"unit price", // required
"quantity" //required
);

That's all I can think of at the moment. E-junkie?

-Matt]]>
E-junkie Discussions; ct
Post #12 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 20 Jan 2009 02:16:23 GMT
This is exactly what I'm 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).

You can email me at mattpresto@gmail.com or matthew.preston@razorfish.com for a quicker response. I would like to figure this out as soon as possible.


-Matt]]>
E-junkie Discussions; Matty
Post #11 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Mon, 19 Jan 2009 05:07:22 GMT
I think you are trying to do what I am trying to do. I am trying to resolve the info found on this page:

http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55528

...with the info found on this one:

http://www.e-junkie.com/ej/help.tracking.htm

...with the info found on this one:

http://www.e-junkie.com/ej/help.redirection.htm

...with the info found on this one:

http://www.e-junkie.com/ej/help.customization.htm

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?

-Matt]]>
E-junkie Discussions; ct
Post #10 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Thu, 15 Jan 2009 15:40:15 GMT
Any update on this?


Matt]]>
E-junkie Discussions; Matty
Post #9 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Thu, 8 Jan 2009 23:53:31 GMT
Let me also add that this would make us seriously consider another shopping cart.

If we can't track revenue from source, what's kind of Google Analytics integration is that?

Not much.

I hope we can find a custom remedy, because I've loved your product thus far.

Matt]]>
E-junkie Discussions; Matty
Post #8 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Wed, 7 Jan 2009 23:45:11 GMT E-junkie Discussions; Matty Post #7 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 6 Jan 2009 20:36:54 GMT
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.]]>
E-junkie Discussions; Tyson
Post #6 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 6 Jan 2009 04:17:59 GMT
Thanks,

Matt]]>
E-junkie Discussions; Matty
Post #5 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Tue, 6 Jan 2009 04:16:58 GMT
But this code does not send sku, cost of order, city, etc to google analytics - does it?

I have this code and e-commerce tracking is enabled, and i still can't get any $ revenue.

please check this link (this is where all my customers are re-directed after they purchase an order).

http://www.dougstubes.com/thanks.html

My current code looks like this:

<script type="text/javascript">
var gaJsHost=(("https:"==document.location.protocol)?
"https://ssl.":"http://www.");
document.write(unescape("%3Cscript src='"+gaJsHost+
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var ejGATracker = _gat._getTracker("UA-796508-1");
ejGATracker._setDomainName("none");
ejGATracker._setAllowLinker(true);
ejGATracker._trackPageview();

pageTracker._addTrans(
"order-id", // required
"affiliate or store name",
"total",
"tax",
"shipping",
"city",
"state",
"country"
);

pageTracker._addItem(
"order-id", // required
"SKU",
"product name",
"product category",
"unit price", // required
"quantity" //required
);

pageTracker._trackTrans();
</script>


We'll see if that works..


Matt]]>
E-junkie Discussions; Matty
Post #4 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Thu, 25 Sep 2008 19:09:54 GMT
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var ejGATracker = _gat._getTracker("UA-XXXXX-X");
ejGATracker._setDomainName("none");
ejGATracker._setAllowLinker(true);
ejGATracker._trackPageview();
</script>

where you'll need to replace UA-XXXXX-X with your UA ID that you get from Google Analytics in the code that they provide.

As always, tracking will work only if you are using JavaScript version of our CART buttons.]]>
E-junkie Discussions; E-junkieChef
Post #3 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Thu, 25 Sep 2008 16:12:13 GMT E-junkie Discussions; SimpliFun Post #2 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Wed, 24 Sep 2008 00:36:58 GMT
Further instructions to follow.]]>
E-junkie Discussions; Tyson
Post #1 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 http://www.e-junkie.com/bb/topic/2879/pg/0#post9879 Wed, 24 Sep 2008 00:29:48 GMT
if the answer is no, the help page should indicate that.

thanks!]]>
E-junkie Discussions; GlennC