Issues tracking transactions using Google Analytics

Showing 1-3 of 3 messages
Issues tracking transactions using Google Analytics Byron Hulcher 1/23/12 8:26 AM
Hello posters, I'm having issues Google Analytics to track transactions made from our website.  Though I was able to record pageviews from my page, I was unable to record transactions from this page.  In desperation, I created a static HTML page using Google's code and debug javascript module.  Even with this, Google Analytics still has recorded no transactions, even after several days.

Here's my code:
 
<html>
<head>
<title>Receipt for your clothing purchase from Acme Clothing</title>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17111369-4']);
  _gaq.push(['_trackPageview']);
  _gaq.push(['_addTrans',
    '1234',           // order ID - required
    'Acme Clothing',  // affiliation or store name
    '1199',          // total - required
    '129',           // tax
    '5',              // shipping
    'San Jose',       // city
    'California',     // state or province
    'USA'             // country
  ]);

   // add item might be called for every item in the shopping cart
   // where your ecommerce engine loops through each item in the cart and
   // prints out _addItem for each
  _gaq.push(['_addItem',
    '1234',           // order ID - required
    'DD44',           // SKU/code - required
    'T-Shirt',        // product name
    'Green Medium',   // category or variation
    '1199',          // unit price - required
    '1'               // quantity - required
  ]);
  _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/u/ga_debug.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>
<body>

  Thank you for your order.  You will receive an email containing all your order details.

</body>
</html>

When  I visit this page I see the following in the javascript console:

_gaq.push processing : "[_setAccount,UA-17111369-4]"
www.google-analytics.com/u/ga_debug.js:22_gaq.push processing : "[_trackPageview]"
www.google-analytics.com/u/ga_debug.js:22Tracking beacon sent! utmwv=5.2.3d&utms=1&utmn=391699211&utmhn=offerpop.com&utmcs=ISO-8859-1&utmsr=1920x1080&utmvp=1920x947&utmsc=32-bit&utmul=en-us&utmje=1&utmfl=11.1%20r102&utmdt=Receipt%20for%20your%20clothing%20purchase%20from%20Acme%20Clothing&utmhid=938366301&utmr=-&utmp=%2Fgoogletransaction.html&utmac=UA-17111369-4&utmcc=__utma%3D103135966.747685549.1327335525.1327335525.1327335525.1%3B%2B__utmz%3D103135966.1327335525.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=q~
www.google-analytics.com/u/ga_debug.js:22Account ID : UA-17111369-4 Page Title : Receipt for your clothing purchase from Acme Clothing Host Name : offerpop.com Page : /googletransaction.html Referring URL : - Hit ID : 938366301 Visitor ID : 747685549 Session Count : 1 Session Time - First : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Last : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Current : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Time : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Session : 1 Campaign Count : 1 Campaign Source : (direct) Campaign Medium : (none); Campaign Name : (direct) Language : en-us Encoding : ISO-8859-1 Flash Version : 11.1 r102 Java Enabled : true Screen Resolution : 1920x1080 Color Depth : 32-bit Ga.js Version : 5.2.3d Cachebuster : 391699211
www.google-analytics.com/u/ga_debug.js:22_gaq.push processing : "[_addTrans,1234,Acme Clothing,1199,129,5,San Jose,California,USA]"
www.google-analytics.com/u/ga_debug.js:22_gaq.push processing : "[_addItem,1234,DD44,T-Shirt,Green Medium,1199,1]"
www.google-analytics.com/u/ga_debug.js:22_gaq.push processing : "[_trackTrans]"
www.google-analytics.com/u/ga_debug.js:22Tracking beacon sent! utmwv=5.2.3d&utms=2&utmn=143654879&utmhn=offerpop.com&utmt=tran&utmtid=1234&utmtst=Acme%20Clothing&utmtto=1199&utmttx=129&utmtsp=5&utmtci=San%20Jose&utmtrg=California&utmtco=USA&utmac=UA-17111369-4&utmcc=__utma%3D103135966.747685549.1327335525.1327335525.1327335525.1%3B%2B__utmz%3D103135966.1327335525.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=qAAL~
www.google-analytics.com/u/ga_debug.js:22Account ID : UA-17111369-4 Host Name : offerpop.com Hit Type : tran Visitor ID : 747685549 Session Count : 1 Session Time - First : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Last : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Current : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Time : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Session : 1 Campaign Count : 1 Campaign Source : (direct) Campaign Medium : (none); Campaign Name : (direct) Order ID : 1234 Billing City : San Jose Billing Region : California Billing Country : USA Affilliation : Acme Clothing Total : 1199 Shipping Cost : 5 Tax : 129 Ga.js Version : 5.2.3d Cachebuster : 143654879
www.google-analytics.com/u/ga_debug.js:22Tracking beacon sent! utmwv=5.2.3d&utms=3&utmn=1990067141&utmhn=offerpop.com&utmt=item&utmtid=1234&utmipc=DD44&utmipn=T-Shirt&utmiva=Green%20Medium&utmipr=1199&utmiqt=1&utmac=UA-17111369-4&utmcc=__utma%3D103135966.747685549.1327335525.1327335525.1327335525.1%3B%2B__utmz%3D103135966.1327335525.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=qAAL~
www.google-analytics.com/u/ga_debug.js:22Account ID : UA-17111369-4 Host Name : offerpop.com Hit Type : item Visitor ID : 747685549 Session Count : 1 Session Time - First : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Last : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Session Time - Current : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Time : Mon Jan 23 2012 11:18:45 GMT-0500 (Eastern Standard Time) Campaign Session : 1 Campaign Count : 1 Campaign Source : (direct) Campaign Medium : (none); Campaign Name : (direct) Product Code : DD44 Product Name : T-Shirt Unit Price : 1199 Quantity : 1 Item Variation : Green Medium Order ID : 1234 Ga.js Version : 5.2.3d Cachebuster : 1990067141

I know google analytics is capturing this pageview, as its popping up in my real-time view.

But it never shows up in my list of Transactions, even though I've been accessing this identical page since last Wednesday


Does anyone have any insight into this issue?  


 

 
 
Re: Issues tracking transactions using Google Analytics Stuart Green 2/22/12 4:50 AM
Did you ever resolve this, I have an issue where the beacon is notsending unless i click the chrome refresh button.  I think its related to the Apache server and Chrome caching but not sure.
unk...@googlegroups.com 2/22/12 5:16 AM <This message has been deleted.>