Google Ecommerce Tracking for Magento - magento

I am having some difficulty in getting google's eCommerce tracking working consistently for Magento. I have set the UA code in the google api section of the admin and eCommerce tracking is switched on. When I go to the success page the code is there. Some orders are being sent but not all. I have installed google chromes analytics tester and the beacon is being sent. Take yesterdays orders for example, 1 from sagepay is in analytics however another sagepay order is not which rules out payment gateway. I have re-set the permissions on the success page and tidied up a couple of warnings in the console but nothing is working i'm pretty stumped.
I have also installed Jiraffe real-time analytics and am having the same problem with that tracking orders, it didn't track a single order yesterday but is tracking cart data fine.
Does anyone have any suggestions?
Thanks

First of all not every user who uses payment gateway is comming back to your success page as some of them are just leaving the transaction at thank you page on third party services - then you won't see such transaction in GA. Second of all not every user let you to track him (adblock is preventing its users to be tracked).As for now please just reply if you are sure that users got back to Magento's success page.To get a much better overview of yours customer behaviour I would recommend you to install this extension Fooman Google Analytics Plus and set up proper funnels (you'll find brief instruction at extensions page)

I would suggest that you check the formating of data passed to GA :
prices should be formated as "1200000.00" : no separator for thousands, dot as decimal separator, no currency
text values should be escaped properly quotes contained in them: 'That\s it'
The Fooman extension is a good start since the basic GA implementation in Magento is a shame of non sense, while not perfect.

Google tracking in Magento :
Open the Magento Admin area and navigate to System->Configuration->Sales->Google API.
Expand the Google Analytics section.
Pick the Yes option from the Enable drop-down menu. Enter the Google Analytics account number in the Account number field. Click on the Save Config button.
Thanks..!!

Related

Google Tag manager is not recordingTransactions for enhanced Ecommerce

I already searched a lot and saw this link.
I setup my google analytics with configuring magento native Google API by using account type the Google tag manager. I am able to see page views, All sessions and sessions with product views. however, the rest are 0. please take a look at the following image:
I debugged the google tag manager with debug tool and I can see that purchase tracking with purchase event is being fired, however, I do not see it in google analytics.
I already setup what the this link provided,
Also I see that data layer has the purchase information id,revenue,tax,etc.
I am wondering what needs to be done so that sessions with transactions will get recorded?
here is the configuration that I have for the tag:
I'm not sure what's wrong?
If those are the exact tags that you are using, then there looks to be a typo in your Purchase trigger. You've got Event equals puchase (typo for "purchase"). You don't need to define this value again, and it would be sufficient to just have Event name of purchase (ie. you don't need the This trigger fires on).

MVC3 - How to check if user clicked on the link you sent through e-mail in .net?

I'm running an e-commerce website and I send my customers regular newsletters.
I'm using nopcommerce v2.40.
I just see who all are subscribed. I want to develop a detailed newsletter management system, something like MailChimp.
I want a report on how many users actually clicked on the link that I sent them via e-mail.
Can anyone tell me how to do that??
This is a pretty generalized question but I'm new at this and I have no idea how to do it.
Thank you !
You can do this sort of thing quite simply with Google Analytics.
Here are some links worth looking at.
Google Analytics Email Tracking
Setting up campaign tracking in Google Analytics
Simple,
in your email newsletter add params you need to collect.
Example
click to view
Everytime someone would click on the above link, they would be taken to your default controller that collects clicks and other parameters you want. You would then save that data and redirect to an actual page you want them to see via "redirect" parameter provided in the url.

How magento uses modified code in googles analytics for tracking

I saw many tutorials that teaches just getting the number in google analytics and putting it in magento, but i want to change the default code in analytics. My doubt is, only the number provided by analytics will be sufficient for magento sees my changes in the tracking code or i need to put the code like in a normal site?
Is there a good manual for coding in analytics for e-commerce beyond the guidelines offered by google for developers?
Putting the Google Analytics account number into Admin -> System -> Configuration -> Sales -> Google API will be sufficient enough. It will track your ecommerce sales data (this code is rendered on the success page - success.phtml) as well as placing the general tracking code throughout the site.

magento and google adwords/organic search conversion

Basically I'd like to know what is the conversion rate of customers coming from both google adwords and organic search and actually buying something on magento based webshop. Is there a way to do that? I already have google analytics on the website.
If you have auto-tagging set up for your adwords & analytics account, you can get that information easily.Once you login into Google Analytics,you can go to traffic sources--> Overview ,and you will see top traffic sources.
If you click on view full report, you can see the data that you are looking forward to.

Google Analytics not working 100% with Magento

I need to solve a problem that the e-commerce report on analytics page, is showing 30% less sales than the Magento report.
I was wondering where I put the analytics code with the sales transactions? In the success page after the payment?
On our e-commerce, we use a third party billing app that makes the user navigate to another page, and I guess, sometimes the user just doesn't go back to the success page. So I was thinking that this could be the problem.
Thanks,
Joe
If the user doesn't come back, it will be difficult to get an accurate count without that third party service giving you one. If you were to tell Analytics that the "Go to the third party page" screen is a "complete" transaction, you'd have too many sales reported (some people will abort at the payment stage). As you can see with your situation, the opposite happens when you wait for them to return to count a "sale".
Can you add your analytics tracking code at the payment processor's site? Otherwise, I don't think Analytics was build for this case...
Thanks,
Joe

Resources