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
-
Why No Goal is recorded in Google Analytics
Hello, I am not sure if i made an error. Can someone please point out. On our sales form, when a user submits the form, the URL displayed is - https://x-y.com/thank-you-2/ I created a Goal like this - 1 ) Under Goal set up, i choose Template option 2 ) Under Goal description, i choose Type > Destination 3 ) and finally, in Goal details field, destination equals to /thank-you-2/ But, no Goal is being tracked. In the first step, should i have selected 'Custom' instead of 'Template' Thanks
Reporting & Analytics | | Johnroger0 -
Using logical operators (AND / OR) in Google Analytics Goal Funnels
When setting up a Funnel within Google Analytics, is it possible to use logical operators (e.g. OR, AND) in the first (required) step of the funnel? For example, suppose I want to track users who visit page1.html AND page2.html before proceeding to the destination goal. I've entered two pages separated by the OR operator, and neither the "Verify this Goal" nor "Save" produces an error message - is it safe to assume that this is working as I intend? Thanks in advance!
Reporting & Analytics | | ahirai0 -
Tracking goals on a subdomain with traffic coming from main domain subfolders. Mission Impossible?
Hello guys, I'm facing a huge challenge setting my goals. Here is the situation. I'm having the same Universal Analytics code on my main domain with different languages www.example.com/en/, www.examples.com/fr/, etc and my www.shop.example.com subdomain. So a French user will go to www.example.com/fr/, see a product that want's to buy and after the registration will see a thank you page on www.shop.example.com/success.html, and here comes the problem. My goal URLs are not "fired" with my filter. I have set up a filter (attached) to include traffic only for the desired profiles, but when this filter is on I can't see conversions. When the filter is off I can see conversions but for all languages. Any ideas how to set up the filter properly? Thank you! Filter.png
Reporting & Analytics | | peternachevat0 -
Clarification on Analytics Goals & Funnel Logic
I have a few questions about funnel flow and how my goals are tracked. 1. My goal is a user completing a contact form, form.html. Upon completion, user is redirected to thanks.html, ending the flow. Every page header contains a direct link to form.html. Does this mean every page on my site is considered a "step" leading the user to the contact form? If so, do I list each page containing the form link in the steps, or only form.html? 2. If the above isn't correct, how do I track how the user wound up completing my form. I'd love to know which pages are performing better and leading to more sign-ups (goal completions). Currently I think I'd only be setup to know when a user is on the form.html page and whether they complete it or leave, not how they got to form.html in the first place. 3. My .html pages are actually embedded via iFrame on WordPress pages. My form.html page is hosted on .com/quote and upon completion, form.html redirects to thanks.html within the iFrame (.com/quote remains the actual page). I'd assume this is going to throw off my stats since the physical .html pages don't have Analytics code embedded? 4. How would I track different CTAs on the same page which lead to the same goal? For example, header vs. footer CTA's to the same sign-up sheet. Let me know if you need anything clarified. Thanks a lot for the help.
Reporting & Analytics | | kirmeliux0 -
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 -
Event Tracking on GTM 2.0
I have created new account in google tag manager 2.0 Now can any body help me how to track event in GTM 2.0? Like example this is the site - flipkart(dot)com if you little bit scroll down then there is 3 tab ( pfa of snapshot) - 1) new arrivals 2) Men's Bestsellers 3) Women's Bestsellers. So i want to know that if anyone click on tabs or button given above then 1) what steps to do in tag manager then 2) what changes i have to update on my site and 3) where to check in google analytic on which tab visitor has clicked. Please tell me tracking and code for only above given 3 buttons. As on web i am very confused looking lots of post. Your inputs very valuable to me.......................bkmitesh thESmOe
Reporting & Analytics | | bkmitesh0 -
OSE shows URLs redirecting to our custom created error page, is this a problem?.
When I check the link metrics for my product pages in OSE, it shows a message saying that the page redirects to our custom error page. This page was recently created to display when there is an error with the website. Do I need to be concerned that OSE is seeing all product pages as redirecting to this error page? Will it affect page authority etc,? I have attached a screen shot of the message that OSE displays for reference. YWbpM.jpg
Reporting & Analytics | | pugh0 -
Analytics goal funnel regular expression not working
Hi Guys can anyone point me in the right direction. My funnels used to work fine until our app team decided to add variables in a directory structure instead of a query string. I need to be able to track page steps that now look like this Step 1 = /Reservation/Search/Var1/Var2
Reporting & Analytics | | apolloseo
Step 2 = /Reservation/Quote/Var1/Var2 I've set up this but it's not working Step 1 = /Reservation/Search.*
Step 2 = /Reservation/Quote.* What am I doing wrong?0