I would like to setup my form's conversion rate as a goal in my Google Analytics account. The goal is complete when someone enters their information and hits submit. Logically, the "Thank you page" would be the destination URL for the goal. My problem is that the thank you page is outside of the primary domain, for example, my site is:
SiteExampl.com but the Thank you URL is thankyouurl.com
Is it possible to setup a goal like this? If so how.
Christina, this is a bit tricky situation as it involves cross-domain tracking and the visitor/goal tracking won't be consistent since each site is using its own sets of cookies. To keep this not that complicated and technical (for that purpose, there is a lengthy documentation by Google), I am going to assume that the conversion will be counted as simply the fact that the user pressed button.
You could then setup event tracking and create a new goal with a condition of this event being fired (Type = Event, in Goal details then use the same Category/Action/Label as you would you in the tracking code -- see below).
The example of event tracking code: (see the complete specification for details)
Submit
Hope this helps :)
this is possible . Please execute an Event when submitting the form. Then redirect to the thank you page.
Use form submission position or button click position and then execute the Event Tracking method and pass the related info at that time. Google Analytics give you an opportunity to setup events as Goals. Hence this will be a very easy task.
Event Tracking in Google Analytics:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
Related
I will start with describing what I am trying to achieve, in order to avoid x-y problem. And if the solution I try to apply is not the best one, please, tell me a different one.
I have a website. There is an audio player on it. I would like to track in my GA how many users started the audio, how many users listened 25% of it, how many users listened 50% of it and so on. I can access the needed information (e.g. user reached 25%, so it is time to tell about this to GA through GTM) in client-side JavaScript, the question is only about setting up the GTM and GA correctly.
So, now that I described my intentions, let me show what I was able to do so far.
1 I created a custom metric with Hit scope in GA.
2 I created a tag which increments the metric created in the 1.
3 I created a custom event in GTM. When user starts playing the audio I fire the event with the help of dataLayer. And the event fires the tag which I created in 2.
4 I created a custom dashboard in GA to track how many users started the sound.
And now I am stuck. I get the needed data from my website to GTM. I trigger the tag which should send the data over to GA. I have the needed metric and dashboard set up in GA. And now I would expect the widget in my custom dashboard in GA to show that the audio was started, but it does not happen.
I am very new to GA and GTM and may not understand some concepts, as a result I may miss some necessary for troubleshooting information. I will gladly provide it if you need it.
Thank you (y).
I'm a consumer data analyst who is not very familiar to coding other than occasional encounters with HTML and Python, and I'm just starting with the coding part of Web Analytics. In particular, I need to learn about checking websites I don't own (therefore I don't have access to their Analytics accounts) for tracking info, but it has been phenomenally hard to find information on which tracking function each component of code stand for, or to what extent it is visible from the page source.
For a project, here is a page I'm trying to check for Google Analytics/Tag Manager/alternative analytics setup, and see what is exactly being tracked on it. Other than the source code, I checked it with Ghostery, which gave me this Tag Manager code page. Is it possible to check tracking info from these two (events, pageviews, URI and how many custom dimensions there is, specifically), and which part of the code includes that info (particularly URI and dimension info - the first two, I have more idea about)?
This is a page I'm also looking into. I can see that this one has Google Analytics/Tag manager, but again, I can't make sure of what is being tracked, and whether the Analytics/Tag Manager setup is looking -potentially- problematic in any way. Here is the Tag Manager page for this one that I obtained through Ghostery.
Any help would be much appreciated...
Looks like what you are looking for is Google Tag Assistant extension for google chrome: https://get.google.com/tagassistant/
you can download it from here: https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=en
When you install it it will appear as icon on any page you visit and it will show you all GA implementations on a page:
You can select tracking ID you are interested in and it will tell you how many Page Views/events were fired for that particular tracking ID only:
Then you can select individual tracking event/page view and see all data that are being sent with that tracking request. Just Click on URLs and click the icon to put the data in table:
Here "cd" stands for Custom Dimension, so here you can clearly see 2 custom dimensions that are being tracked:
Hope this helps, good luck!
I have a Gravity Form with a text confirmation page, not a redirect confirmation. I would like to track this form through Google Tag Manager to display a goal conversion in Google Analytics (Universal Analytics).
I've followed the steps here: http://www.notesonclick.com/blog/gravity-form-event-tracking-via-tag-manager/
No conversions are being recorded. However when using GTM-debug mode, all the triggers are firing, even the gform.submit.success tag is being fired after clicking the submit button.
Could someone please help?
We've had the same issue. The only way we've been able to get GTM to record conversions is to remove validation. We'd rather it validate, but we haven't found any other workarounds.
I have implement that code in multiple site and it is working fine, Since you are not getting conversion then there might be issue with form Goal Creation in google analytics. or some time i have noticed this things happening when google analytics have been implement directly on the site and event tracking setup through tag manager..
if you still need some more help leave comment in comment box of same blog
I saw the excellent and elegant solution by Dinesh but was not able to implement it on the site I was working with. I put a hack together that work correctly. For detailed instructions, please see here.
http://www.albanyanalytics.com/2018/03/gravity-form-tracking-with-google-tag.html
Using Google Analytics, I am tracking clicks on a link (The link is of the same website).
Is it necessary to apply some delay before redirection after tracking the click using trackPageViews?
I see people suggest delay on outbound link but I guess, the same rationale applies to the link that takes users to the same website.
The issue is really whether or not the tracking pixel request (from _trackPageview) has completed before you leave the current page.
So, yes -- if the link is opening up in the existing window, you'll want to add a delay on following the link, regardless of staying on the site or not.
BTW, while using _trackPageview for tracking clicks will work, it also inflates the actual page view count for your site -- you might want to use event tracking (with _trackEvent) instead. See Event Tracking Guide
I'm studying GA and and want to know if it is possible to save any custom information. For example I have a lot of checkboxes on the page and want to know checked statistics. I mean checks count for each checkbox separately. I see it in the following way: before postback I'm getting all checks information and send it to GA :).
What do you think?
You can use the Google Analytics javascript API to send this information to google, possibly as an event. This can happen whenever you choose, such as before form submission.
You can make events to each of the checkboxes, individualize them if you want, and see the results in "event tracking" in contents.
More info about event tracking from
google analytics docs