Magento Forum

   
Google Analytics doesnt seem to work? 
 
RH
Sr. Member
 
Avatar
Total Posts:  81
Joined:  2007-10-09
 

I have entered my google accounts number but it doesnt seem to be working, no views on my website for over 3 weeks although i have and friends have viewed on several occasions.

any ideas

thanks

rob

 
Magento Community Magento Community
Magento Community
Magento Community
 
medic
Sr. Member
 
Total Posts:  173
Joined:  2007-10-30
Sydney
 

Same thing is happening to me

 
Magento Community Magento Community
Magento Community
Magento Community
 
RH
Sr. Member
 
Avatar
Total Posts:  81
Joined:  2007-10-09
 

just to check we’re singing off the same hymn sheet,

does your account number have this format.

XXXXXXX-X

 
Magento Community Magento Community
Magento Community
Magento Community
 
RH
Sr. Member
 
Avatar
Total Posts:  81
Joined:  2007-10-09
 

still not working with new realse, can anyone else verify this?
Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kasper
Jr. Member
 
Total Posts:  29
Joined:  2007-11-11
Denmark
 

I had it working in the last release, just uploaded the new one, so haven’t tested in this yet.

There were some problems with the ecommerce tracking though, since all the values in tracking code weren’t used. Easy to fix though nad program yourself…

What is lacking though is the ability to track each step in the checkout process as a channel.
Since the checkout is one-page and Ajax, the url dosen’t change, which means you need to tag each step with a virtual url withn the Google Analytics tracking code.

Haven’t checked if they updated this in the release though.

Anyway, sounds like you are missing the UA- at the beginning of your GA id when you insert it into the magento admin.
You need to insert you id like this: UA-xxxxxxx-x and remember to select enable smile

Try and post the Google Analytics tracking code as seen in your html source, then we can see if it looks alright…

 
Magento Community Magento Community
Magento Community
Magento Community
 
mytechfactory
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-12-27
New York, NY
 

You can use these funnels
http://www.example.com/checkout/cart/
http://www.example.com/checkout/onepage/
http://www.example.com/checkout/onepage/success/

These three funnels, which are very important to track shopping cart abandonment, use ajax technology.
http://www.example.com/checkout/onepage/#billing
http://www.example.com/checkout/onepage/#shipping_method
http://www.example.com/checkout/onepage/#payment

I am not sure if this is integrated yet, but google has a solution to tracking ajax request (http://www.google.com/support/analytics/bin/answer.py?hl=en-au&answer;=55519)

With a typical HTML page, you can use the URL to differentiate between multiple pageviews. But in an AJAX application, a request to the server is made without changing the URL of the page, making it difficult to track.

By calling the _trackPageviewfunction, however, you can assign a page filename to any AJAX event. Typically, this is done as part of the onreadystatechange function, after the data has been returned and all updates to the page have been made. The example below shows one way of doing this:

...

        
http_request.onreadystatechange sendAlert;         http_request.open('GET'urltrue);         http_request.send(null);

}

    
function sendAlert() {

        
if (http_request.readyState == 4) {             if (http_request.status == 200) {             alert(http_request.responseText);             pageTracker._trackPageview("/pagefilename1" )}            else {                 alert('Error.');
}
}
}
...

This is definitely an important feature that I hope magento will integrate if not already. Voice your support for this feature request in this forum http://www.magentocommerce.com/boards/viewthread/4834/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top