How to create goal for Events?
-
Hi All,
I have created event via google tag manager for my ecommerce site. That events are button clicks. Now I want to know after clicking that event does that customer reached to Thank You Page or not? How can I do that? which type of goal I have to create?
Thanks!
-
Hey Pragnesh,
It seems you have a few questions here, I'm going to recap to ensure we touched base on them all & try to get you sorted out.
Questions
- Does a customer reach a thank-you page if you have event tracking in place?
- How can you get them to go to thank-you page?
- What type of goal is needed to track this in Google Analytics
- How to know when events are happening?
Answers
- A customer isn't redirected because event tracking was added, unless the button's onclick is a window location change, which requires javascript to redirect them. I would encourage you to make a link (href) and style it to look like a button. Great example here.
- The above example will show you how to make a button-click a link that can go to a thank-you page.
- If you're wanting to track the event as a goal in Google Analytics (GA), then you'll need to grab the following values (Category, Action, Label, Value) that you have used to create the event (not all are required) and create a new goal in GA with the 'Event' goal type. You can then verify the goal to ensure the tracking is setup correctly.
- If you setup the above goal, then you can track the event as a goal, if not you can see ALL events in the events report of GA. Behavior>Events>Overview. You should be able to drill down there and see all goals that are taking place. This is a good source for double checking the Category, Action, Label, Value fields for the goal to be created in step 3.
I think that should get you sorted, if you're still having issues let me know and I'll help you out further!
Let me know if this works for your issue!
Trenton
-
Hi Pragnesh,
It'll require a bit of work on your part, but you can go to your GA and select your "Thank You" page to see what kind of traffic it has received (since people aren't likely to navigate to it directly, there are good odds only people who converted will be represented here). Compare that to the number of goal conversions you have tracked and that should tell you what you need to know.
If your event tracking is set up properly, you will know that your customers are coming through because only those who click through will be represented as goal conversions. If you are not increasing your goal conversions, it means that:
- Either your tracking isn't set up properly
OR
- No one is clicking through
Check the traffic volume of your "Thank You" page to figure out which it is - if people are getting to that page, but your conversions aren't increasing, then you know tracking isn't set up properly.
Hope that answers your question.
Cheers,
Rob
-
Hi Robert,
Thanks for your response. I am aware about thankyou page and I am tracking also for other pages but my concern is for "Event" I do event tracking how do I know my event clicked customer reached thankyou page?
Thanks!
-
Hi Pragnesh,
In terms of creating goals, there are multiple options.
First, there is a misconception that you need to create a "thank-you" page in order to track goals. There's a pretty neat way to get around this by adding some code to your submit buttons. Raven Tools has a pretty sweet tool that provides your with a plug-and-play version:
https://raventools.com/marketing-reports/google-analytics/event-tracking/contact-form/
Or you can use the Contact Form 7 plugin (there are other options) which allows you to set up this code automatically:
http://contactform7.com/tracking-form-submissions-with-google-analytics/
However, if you are determined to go ahead with a Thank You page, you can find how to take care of that here:
http://www.brightervision.com/thank-you-page/
Simpy put, follow these steps:
- In GA, go to "Admin"
- Go to "Goals" (right column, 3 rows down)
- Click "+New Goal"
- Click "Custom" in 1st section
- Click "Destination" in 2nd section
- Type in URL addition (only the part that comes after your domain)
i.e. if your domain is www.example.com and your thank-you page is www.example.com/thank-you, then you would enter "/thank-you" into this section.
After that you just have to make sure that your submission forms are redirecting visitors to your Thank You page and you're all set.
Hope this helps, feel free to reach out if you have any further questions or need clarification.
Cheers,
Rob
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 Analytics Goals - Button Tracking
Does anyone know if there is a really easy way to track a button in Google Analytics yourself? It seems that most button click goal setups involve some use of tricky code and I'm wondering if there is a much easier way to do this that will allow us to simply setup and track certain button clicks as goal conversions in Analytics. Your help here is much appreciated!
Reporting & Analytics | | Gavo0 -
Does Universal Analytics auto generate events?
Hi Mozzers, I have been noticing for one of my clients that there are thousands of events generating which I never added a code snippet for ga('send', 'event', 'button', 'click', 'nav buttons', 4);. The code I am seeing instead is following the syntax **PDF FILE NAME.**I don't even use Tag Manager. So are these auto generated? Label names of files aren't great though so I still believe that adding that piece of snippet _ga('send', 'event', 'button', 'click', 'nav buttons', 4);_can still bring some added value. Do you think it still does? Thanks!
Reporting & Analytics | | Ideas-Money-Art0 -
Most of the goal conversion in Google analytics showing under referral
Hi All, I have already asked this question twice here but issue is not resolved yet. http://moz.com/community/q/all-goal-conversion-in-google-analytics-showing-under-referral http://moz.com/community/q/some-goal-conversion-in-google-analytics-showing-under-referral In Google analytics most of the goal conversion in Google analytics showing under referral from payment gateway sites (Paypal.com & epdq.co.uk). I have applied all the possible solution that suggested by Moz community experts & Google Adwords support team but it is not resolved yet and it is really weird answer to give client that I have applied all possible solution and issue is still not solved. Lastly I am sharing Cross domain tracking code here that I have used on my site. Please check once and let me know if code is correct and If not correct please help me out to correct the code or suggest any other way to fix the issue Cross domain tracking code ======================= <script type="text/javascript">(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Reporting & Analytics | | Alick300
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('require', 'linker');
ga('linker:autoLink', ['paypal.com', 'payments.epdq.co.uk'], false, true);
ga('create', 'UA-xxxxxx', 'auto', { 'allowLinker': true});
ga('require', 'displayfeatures');
ga('send', 'pageview');</script > I have hide the UID in above code. Thanks0 -
Creating Goals in GA
Hi I don't know if the below can be done, and I can't seem to find an answer anywhere. Ideally I want to capture the event of registering for an account. Ultimately I want to know which products, pages etc drive customer registrations but which do not lead to a purchase (Registered Not Bought). Does anyone know if this is possible? Thanks Andy
Reporting & Analytics | | Andy-Halliday0 -
I want to track product click so how to create project object or how to pass project object ?
Hey, I am reading this post - https://developers.google.com/tag-manager/enhanced-ecommerce#product-clicksIn this there is function like given below - function(productObj) { dataLayer.push({ 'event': 'productClick', 'ecommerce': {.....................................................................................................................Now my developer asking how to create object? or how to pass product object? Like on page we have more than 50 products listed, so if any one clicks on any product from list then how will we know which product has been clicked?Hope you understand what i want to say? Regards,Mitesh
Reporting & Analytics | | bkmitesh0 -
Hour of the day that my analytics goals are being triggered within the all traffic report.
I am trying to identify the hour of the day that particular keywords (organic and PPC) are triggering my goals. Ideally I'd like to be able to use the all traffic report with the secondary dimension set as keyword. Hopefully I'm missing something simple, thanks all. Mark
Reporting & Analytics | | mde9110 -
Google Analytics - Cross Domain Tracking Goals
Hi guys, looking at the best way to organize this - Site 1 - Shoe Store - (Old site with analytic history - UA-12345-1) Site 2 - Clothing Store - (Brand New UA-54321-1) Right now i have 2 separate GA Accounts for the sites. But i would like to track goals from Site 2 to Site 1. For that i need to set up cross domain tracking. So i take it i would need to create another account under Site 1 - (UA-12345-2) and put that new code on Site 2? Or do the UA numbers have to be exact? example both 12345-1? In which case, i would need to set up 2 different profiles with filtering? Main concern is i want to keep separate data for both sites, espically if UA's will be the same. Trying to visualize - UA-12345-1 Profile 1Shoes/Master Profile 2 Shoes Profile 3 Clothes Or UA-12345-1 Shoes UA-12345-2 Clothes Thanks, Mike
Reporting & Analytics | | IsHot0 -
Goal Conversion Rate increase AND Abandonment Increase
I wonder if someone can help me understand some data I'm seeing in Google Analytics. SetUp Goal with 3 step Funnel Date Comparison is 1st-8th September & 1st-8th June The Data (pics attached) Looking at the Goal Conversion Rate I can see: September - 11.58% vs June - 10.42% an increase which Google shows as (+11.18%) For same time period Abandonment Rate is showing September - 71.3% vs June - 61.5% - an increase which Google shows as (+16.5%) The Questions How can I bee seeing both an increase in conversion rate AND and increase in Abandonment rate on the funnel? And why doesnt "(Conversion Rate + Abandonment Rate) = 100%" ? Many thanks for any help! yqwFP.png cj5dn.png
Reporting & Analytics | | TobiasM0