Newsletter tracking event GA- Magento
-
Hi there,
I am trying to track an event, newsletter signup in this case, on my Magento store.
I added onClick="_gaq.push(['_trackEvent', 'Microconversion', 'Evento_Onclick', 'Sus_Newsletter']);" on subscribe.phtml
Category: Microconversion
Action: Evento_Onclick
Label: Sus_Newsletter
It doesn't work, it's does not track this event. What am I doing wrong?
Thanks and regards
-
That code looks like it should work, but it's hard to determine exactly what the problem is without actually looking at the page itself to see how the main GA tracking code is configured. Can you share the URL?
Otherwise, here is a great Chrome extension that helps you debug issues with Google Analytics - https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google Tag Manager for cross-domain tracking
Anybody experience with setting up Google Tag Manager to contain the Analytics script including cross domain tracking? We have a marketingwebsite .com / .com.br and an application running in a subdomain, but have always had some difficulties in getting the cross domain tracking working. Would be great to be able to exchange some experience with fellow Mozzers.
Reporting & Analytics | | jorisbrabants1 -
Click to call tracking
I'm looking to add a click to call button, when a user lands on our quote page from a mobile phone. I'm wondering the best way of goal tracking? Our current method of tracking uses Events. I was wondering if this was a sensible way forward for this. The dev team are suggesting it may be a problem as it refreshes the page... I'm not a dev, so I don't fully understand it all! Thanks, Amelia
Reporting & Analytics | | CommT0 -
E Commerce and cross domain tracking on universal analytics?
Hi Mozzers, I am running into an issue where my client's website ( can refer to domain.com) uses a third party checkout site called rezovation that we can refer to checkout.rezovation.com: I went through this doc here https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain and https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce (for universal analytics) and I still find it confusing so here are my questions: According to my understanding I need a customized GATC to link both domains checkout.rezovation.com and domain.com? If yes(above), do we setup one customized GATC for cross domain tracking on all pages from checkout.rezovation.com and domain.com? if it is the case can someone provide detail steps on how to set it up ( I am not a coder so the easier the guideline, the better) Once cross domain tracking is set up, e commerce tracking code should be only on thank you page should be looking like the image below? Should i add manually all the extra code for the ecommerce tracking code or I can get it done via a third party website? Thank you guys! oPgn8P4.png
Reporting & Analytics | | Ideas-Money-Art0 -
Newsletter Campaign Need HELP to Create a Custom Report in Google Analytics
I have this newsletter send using Mailchimp. This campaign is link to G.A. How can I create custom report for me online store about this campaign? For example: I have 2 Goals Completion Location setup in G.A. they are: /checkout.php and /finishorder.php Is there a way to find out how many visitors from my campaign reach the /finishorder.php vs. /checkout.php Reason, about 50% are reaching /finishorder.php Maybe I need to creat a "How to redeem you coupon code" video to included in the newsletter to HELP customers complet there order process. Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
GA E-Commerce can't tell the real order source?
I put the e-commerce tracking code on the transaction platform (Regnow) finishing page, but all the orders displayed in GA can't tell the real order source. Instead, most of orders are from direct(none), and referrals from my site. So this is obviously wrong. I need the accurate order source such as google organic or google ppc, then I can find which keyword brings me orders. After some searches, I guess the reason is cookie domain. My GA is set as single domain tracking. And I didn't put any cookie domain code on the Regnow's transaction finishing page. The codes I put on the page are: So, suppose my site is "www.example.com". How to make sure I can track the real order source on the Regnow's transaction finishing page? Should I set my GA to track multi top-level domains, and put _gaq.push(['_setDomainName', '']); code on the tracking page? How to set the domain name, "none" or "example.com"?? Thanks in advance.
Reporting & Analytics | | JonnyGreenwood0 -
How to track subfolders in GA?
Is it possible to get the visitor statistics for a subfolder (example.com/blog/) in Google Analytics? I already have GA tracking set-up like normal, and visitors do get logged, but to see data only for /blog/ I have to go to Content > Site Content > All pages and search for "/blog/". Should I create a new profile in Google Analytics? Or is there a better way to only see stats for a subfolder?
Reporting & Analytics | | Qon0 -
Subdomain GA Tracking??
Hi Mozzers I am tracking a web property www.example.com and we are launching a subdomain.example.com. Should the subdomain tracked on GA by creating a new profile or should it be on its own with a new GA property ID? Thanks for explaining how to do that setup 🙂 Ty
Reporting & Analytics | | Ideas-Money-Art0 -
Measuring events to external sites
Im having problem measuring click on ads by using events in GA or Jetpack. For example when I checked out yesterday this is what I read: 1. In GA events it says 12 clicks 2. In Jetpack it says 9 clicks But when I look at Referrals to the actual site directly it says 18 clicks Which one is the rights one? I need this because I use this to invoice clients end of month! and it cant be any "maybe".something. cheers, R
Reporting & Analytics | | rrrobertsson0