homepage Welcome to WebmasterWorld Guest from 54.237.95.6
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
GA show only one traffic source for Goals and E-commerce
Securent shopping cart - all goals and transaction tracking not working
vegasgirl




msg:4148276
 6:01 pm on Jun 7, 2010 (gmt 0)

Hi,

I'm using SecureNet as a third party shopping cart with WP site.




I have analytics with eCommerce and goals on the site.



SecureNet generates the analytics code with the eCommerce feature automatically. They're using the old syntax so I'm using it on my site too.

When I'm in the Analytics, I can see the correct transactions and eCommerce stats, the problem is that everything appears under one traffic source: mysite.com / referral

All of the goals and eCommerce transaction show only under this traffic source, and also all of the cart pages visits source appear under this traffic source.

I did some test orders from PPC and Organic, the visits are correct but the Goals and transactions appear under this traffic source for some reason.

I can't tell my ROI from PPC , SEO etc. The only thing I know is how much conversions I got from AdWords, but they don't give you the amount of products and the revenue.


I tried everything, including pulling my hairs out one by one, but still not working....


This is the code:



mysite.com analytics code:

<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 pageTracker = _gat._getTracker(”UA-#*$!#*$!-1”);
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
pageTracker._setAllowHash(false);
</script>




securenet shpping cart pages analytics code:

<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 pageTracker=_gat._getTracker("UA-#*$!#*$!x-1");
pageTracker._setDomainName("none");
pageTracker._setAllowHash(false);
pageTracker._setCookiePath("/[% MERCHANT_ID %]/")
pageTracker._setAllowLinker(true);
pageTracker._initData();

pageTracker._trackPageview("/cart/[% PAGE %]/");

[?PAGE eq complete]
pageTracker._addTrans("[% ORDER_NUM %]","[% B_LNAME %], [% B_FNAME %]", "[% GRAND_TOTAL %]", "[% SALES_TAX %]", "[% SHIPPING_CHARGE %]", "[% B_CITY %]", "[% B_STATE %]", "[% B_COUNTRY %]");
[?ITEMS join=;]
pageTracker._addItem("[% ORDER_NUM %]", "[% ITEM_NUM %]", unescape("[% ITEM_NAME %]"), "", "[% ITEM_UNIT_PRICE %]", "[% ITEM_QTY %]")
[/?ITEMS];
pageTracker._trackTrans();
[/?PAGE]
</script>
[?PAGE eq cart ]
<script type="text/javascript" src="//checkout.google.com/files/digital/ga_post.js">
</script>
[/?PAGE ]

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved