The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Google Analytics - utmz cookie shows utmcsr=(direct)

kanjigirlkanjigirl Member
in Bugs & Feature Requests edited March 2010
I've done the steps in the Google Analytics integration process in the wiki. I went though it again this morning but I'm still having a problem...

For the utmz cookie I get utmcsr=(direct) on both my product and checkout pages. Here they are:

Can you help me out?
  • brettbrett FoxyCart Team
    Try moving this bit from the bottom of your checkout template to the <head> section like this:
    <script type="text/javascript" charset="utf-8">
    		// Ensure the GA info is in the URL //
    		if ( == -1 && fc_json.custom_fields['ga'].length > 0) {
    			window.location.hash = fc_json.custom_fields['ga'];

    See if that helps. It seems like for some reason the GA pageTracker isn't acknowledging the anchor string in the URL... Not sure why. Haven't seen that before, though I don't see anything off after a quick glance.
Sign In or Register to comment.