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
-
Custom Events Not Showing in GA4
I have some experience in successfully creating custom events for GA4 via Tag Manager, but I have one account where my events are firing in GTM but not showing at all in GA4 (not real time or anywhere). I have twice done them over and published my changes but still no luck. Any ideas what else the issue can be? There are no internal filters at the moment. Thank you.
Reporting & Analytics | | bradsimonis1 -
Is it possible to set up one of the Goal Conversions on Google Analytics for a different site?
We are in the process of a website migration and need to set up the conversions for the new site. What is the most effective way of doing this?
Reporting & Analytics | | Sable_Group0 -
How to set goal in Google Analytics that required specific page
So our company has new page that has just implemented (let say "page x" --> not a landing page) and we want to see how many visitors that through "page x " convert into the goal (let say "page y"). If I just make the goal destination like "/page y" the goal number that appear is ALL the visitors who reach "page y" (through or not through "page x"), so how I set the goal setting to only show the visitors who reach "page y" through "page x" ? Thank you
Reporting & Analytics | | ddspg0 -
How to Track Button Clicks as Events in Universal Analytic using New Interface of GTM?
Hello Experts, How to Track Button Clicks as Events in Universal Analytic using New Interface of GTM? Also is there anything code we have to do on website also to track buttons? Sorry to say request please don't just share any post, please give specific answer or share very relevant post. Your input is really very valuable to me. Regards, Mitesh
Reporting & Analytics | | bkmitesh0 -
Google Analytics Custom Alert For Goal Completions?
Hi currently setting up custom alerts for a website. I want to do a custom alerts for when goal completions decrease or increase by a certain % e.g. 20% as shown in the third example from this Moz Article back in 2012 - http://moz.com/blog/7-essential-google-intelligence-custom-alerts-that-keep-me-sane However when i go into my GA account the only options seem to be for when the goal completion conversion rate % drops. I could use this, but i rather do just based on completions rather than %. Any ideas on how i can do this? Thanks.
Reporting & Analytics | | MBASydney0 -
Where should I insert the code when I track an event on GA?
hi mozzers, I am trying to setup my first event to count the numbers of downloads of an infographic(pdf file) we just created on GA and after some research I figured that I should add this piece of code (below) but where exactly? <colgroup><col width="386"></colgroup>
Reporting & Analytics | | Ideas-Money-Art
| _gaq.push(['_trackevent', 'PDF', 'Download', 'name of file']); | Should I put it just in between _gaq.push(['_setDomainName', 'coit.com']); and _gaq.push(['_trackPageview']); ? Please provide details because I ve never done this before Thanks 🙂0 -
Solving link and duplicate content errors created by Wordpress blog and tags?
SEOmoz tells me my site's blog (a Wordpress site) has 2 big problems: a few pages with too many links and duplicate content. The problem is that these pages seem legit the way they are, but obviously I need to fix the problem, sooooo... Duplicate content error: error is a result of being able to search the blog by tags. Each blog post has mutliple tags, so the url.com/blog/tag pages occasionally show the same articles. Anyone know of a way to not get penalized for this? Should I exclude these pages from being crawled/sitemapped? Too many links error: SEOmoz tells me my main blog page has too many links (both url.com/blog/ and url.com/blog-2/) - these pages have excerpts of 6 most recent blog posts. I feel like this should not be an error... anyone know of a solution that will keep the site from being penalized by these pages? Thanks!
Reporting & Analytics | | RUNNERagency0 -
If I change the URL of a page, but the old page canonicalizes to the new, do I need to change my Analytics goals to get data?
I changed the URLs of some pages recently (because the same thing that affects the internal anchor text also affects the URL - grr...) but considered it not a big deal because even if I looked at the source code of the old URL, the canonical tag was now pointing to the new one. The question is - if I had URL destination goals set up for those URLs in Google Anlaytics, do I now have to change them? Or does Google somehow know that anyone getting to the new URL is the equivalent of someone getting to the old URL because of the canonical tag that exists on the old URL source code? I still do see goal conversions for some of the old URLs even since I changed them - but it could be that people are still somehow finding the old URL somewhere - or that Google only reindexed it a week or so after I made the change. Any light to shed? Thanks in advance, Aviva B
Reporting & Analytics | | debi_zyx0