Comments on: Magento and Google Analytics – Use ‘First Touch’ Tracking To See How Your Customers First Visit Your Store http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/ Notes on Web Development Wed, 23 Dec 2020 09:25:05 +0000 hourly 1 https://wordpress.org/?v=4.8.15 By: Jeroen http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-5127 Thu, 08 Nov 2012 16:31:57 +0000 http://www.aschroder.com/?p=957#comment-5127 Hello all.

I have a spinning head….i can not solve a problem.

We have put UA-code in Magento and it is seeable on frontend.
BUT….at some pc’s it is not shown in source????
Why??? People are on SAME IP. I do not know why Magento somethimes shows UA-code and sometimes not. We have problems with our reporst in Analytics now…

Please help me out….Thanks!
Jeroen

]]>
By: eg1902 http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-2412 Wed, 29 Jun 2011 09:08:08 +0000 http://www.aschroder.com/?p=957#comment-2412 I’m in the same case as So What. Have I to do something manually after the install of Fooman extension ?
Thanks

]]>
By: So What http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-2338 Thu, 02 Jun 2011 18:01:28 +0000 http://www.aschroder.com/?p=957#comment-2338 This “first touch” tracking is a great idea !
I just installed the Fooman extension. Should I do some other operation manually (maybe add the code in page.xml…) or everything is now in the Fooman extensio ?
Thanks

]]>
By: Ashley http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1938 Sat, 23 Oct 2010 16:47:29 +0000 http://www.aschroder.com/?p=957#comment-1938 Thanks for stopping back in Dan – I think my data took about a day to start coming through, so hopefully you’re just experiencing some intermittent slowness with the analytics data.

]]>
By: Dan Gravell http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1937 Sat, 23 Oct 2010 12:47:09 +0000 http://www.aschroder.com/?p=957#comment-1937 Just to let you know – the results have just started coming through. It took five days in total to appear and you can’t see yesterday’s results… but prior to that they exist.

]]>
By: Dan Gravell http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1923 Tue, 19 Oct 2010 08:53:29 +0000 http://www.aschroder.com/?p=957#comment-1923 I don’t get anything in the User Defined or Custom Variables reports at all (or rather: I get “(not set)” for every visitor in the User Defined report, and “You have 0 unique custom variables” in the custom variables report). Here’s my code (I should be clear: I’m not using Magento):

<script type="text/javascript" src="http://attributiontrackingga.googlecode.com/svn/trunk/distilled.FirstTouch.js"></script> <script type="text/javascript">    var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'UA-XXXXXXX-1']);  _gaq.push(['_setDomainName', 'none']);  _gaq.push(['_setAllowLinker', true]);  asyncDistilledFirstTouch(_gaq);  _gaq.push(['_trackPageview']);   (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/ga.js';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })(); </script> 

Is this correct usage? There are no JS errors and I can debug it line by line in Firebug.

]]>
By: loopion http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1727 Fri, 13 Aug 2010 20:53:01 +0000 http://www.aschroder.com/?p=957#comment-1727 I’ll be very interested to see this extension too. Even if it’s integrated to Fooman extension, it will be great.

We are using MailChimp too for one of our clients and it’s linked with their Google Analytics account, but it’s more like a complement as like you said Ashley, it’s also for a global report for individual report.

Keep us posted about the extension!

]]>
By: Ashley http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1719 Fri, 13 Aug 2010 01:27:39 +0000 http://www.aschroder.com/?p=957#comment-1719 Hi, Graham – I just had a quick look at your source code – I think you’re using the older, non-async GA code. In that case, refer to the original article about how to add the distilled javascript call to your GA.php. Let me know how that goes.

]]>
By: Graham http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1718 Fri, 13 Aug 2010 01:05:16 +0000 http://www.aschroder.com/?p=957#comment-1718 Hey Ash,

Just trying this, can’t seem to get it to work…ie results not coming through to Visitors -> Custom Variables.

I’ve given it more than a day since I made the changes. In view source I can see the js loading (in the Fooman mimify stuff) and, the correct line in the analytics code (modified the Fooman Ga.php).

Anything else I should check?

Cheers

]]>
By: Ashley http://www.aschroder.com/2010/08/magento-and-google-analytics-use-first-touch-tracking-to-see-how-your-customers-first-visit-your-store/comment-page-1/#comment-1700 Tue, 10 Aug 2010 02:18:10 +0000 http://www.aschroder.com/?p=957#comment-1700 vote registered! You may not have to wait for me though, I heard from Fooman that he might add this to his GA extension, so that’d be good eh. I’ll let you know if I hear any more.

]]>