Goal Conversion in Analytics - Convert only if coming from a certain page - google-analytics

On my home page (/) I have a form embedded on it. When you complete it and press submit, it takes you to a thank you page.
I also have another form on another page in the site located at (/sales) When you complete this form I just have it send you to the same thank you page.
If I just create a goal that tracks when the destination page is "thank you" then there is no way to track which form the user came from.
Can I create a Funnel (that is Required) (step 1 must be be / or /sales) would that act as a prerequisite to complete the goal? In other words, will that only track my sales form if the user actually goes to /sales, then completes the form?
I fear it will not - that the user initially goes to /, then /sales, then complete the form (ends up at 'thank you') and this would count as both goals since the funnel completed for both in theory.
Is this just not the right way to go about it, and I need to use Google Tag Manager form triggers for this? Or is there an analytics solution for this.
Thanks in advance for any insight.

The funnels only affect visualization, not goal conversions, so that will not help you. If you want a conversion only with a certain referrer you need to solve that in code, e.g. by checking the referring page in your tracking code and send an event only if it matches the desired values.

Related

Track behavioral flow from google tag manager event

I want to see which pages a visitor went through, when filling in a contact form. To track the submitting of the form, I setup google tag manager with google analytics.
So now when submitted I see an event "FormSubmitted" in Analytics.
Only now I can't get to figure out, how I can check the behavior flow of only the user which submitted the form.
Is anyone known with this, and knows how to filter that specific usertype out? Tried some filters in the behavior flow section, but couldn't get the right one.
Hope to get a solution here!
Only now I can't get to figure out, how I can check the behavior flow of only the user which submitted the form.
Create a segment with conditions for example "Sessions includes event category = ...".
And apply it on report "Behavior Flow".
Ussually to track steps of form filling it's better to set it before. You need to set sending virtual pages in GTM for each step you want and then create goal in GA type Destination and add steps there. After successful setup you'll see funnel in report 'Funnel Visualization'.

Goals > Overview Display Incorrect Counts

I've set up multiple Goal funnels - pretty much the same for all except for the first step in the flow. Below is one example. The Destination has "subpg=" because there's only one main Thank-you page, and depending on which page the form was completed, subpg will have value like subpg=consulting etc.
The flow: visitors must (required) visit the Consulting page first, then from there click on the form, and complete the form.
The thing is, for this example, my Consulting goal funnel shows 0 form completion - which is correct. However, the Goals Overview page shows 2 form completion for Consulting - which is not correct. Why?

GTM & Contact Form 7 - goals not being logged

Much the same as this user, I've got a WordPress website with multiple forms often on the same page. My forms are created using Contact Form 7.
For example, when the 'Request a Call' form is completed, a data layer is sent using:
on_sent_ok: "dataLayer.push({'event':'formSubmit-RequestACall'});"
In GTM, I have a custom trigger set up as follows:
Here are the Tag settings:
Meanwhile, over in GA, I've set up the following Goal:
However, if I submit the request a call form and look at Real-Time goal completions in GA, nothing is showing. Is anyone able to advise where I'm going wrong please?
Thanks in advance.
Update: My Preview summary says the tag isn't firing. There's one tag firing, which is the one I'm using to measure overall traffic.
The DataLayer feedback is as follows:
Crikey! I've finally got to grips with it. In the hope of saving someone else the best part of a day, here are my settings, which work for me.
dataLayer.push (under 'Additional Settings' in Contact Form 7)
on_sent_ok: "dataLayer.push({'event':'formSubmit-RequestACall'});"
Google Tag Manager - Trigger
Google Tag Manager - Tag
Google Analytics - Goal
The verification as you can see in the last photo says it would expect 0% conversion based on last 7 days data. This is despite the goal registering in the Real-Time (last 30 mins) data, so I expect it needs 24 hours to register the goal properly.
No variable settings necessary. I now just need to repeat for the other forms, changing the event name for each (i.e. instead of formSubmit-RequestACall) to something unique.
Good luck!

Google Analytics Tracking Conversions with vendor data and custom campaigns

Please help me understand this. I have a client for whom we created a sweepstakes "mini site". Traffic was generated through banner ads, eBlasts, and newsletters. For the banner ads, I created custom urls, i.e. www.somewhere.com?utm_source=yahoo?utm_campaign=abc to track the traffic to the landing page per vendor/banner. this works just fine.
The entrant visits the page, signs up for the sweepstakes, has as double opt in email process for verification. All of my entering traffic to the landing page is tracking fine, and is properly broken down by utm_source and utm_campaign.
Some of the vendors had me place tracking pixels on the confirmation page for conversion statistics. The only info I have placed for internal tracking on the confirmation page is the GA tracking code.
I have been told to create tracking pixels to track the individual vendor conversions. Is this possible without the originating pixel data from the vendor? I am new to tracking pixels, but my understanding is that I need some information from the vendor in order to write the code for the pixel. Am I wrong?
I can't understand how we can place a tracking pixel on our end without at least campaign name or data from the vendor's tracking pixel that they placed on the page containing our banner ads.
What am I missing here? How can I actually separate the conversion traffic from the different sources when everyone receives the same double-opt-in email?
Please ask me to clarify if I am not being clear. Thanks in advance for reading my question.
There are two things you are trying to track here. One is Campaigns: Campaigns are how you measure the effectiveness of techniques to bring users to your site.
The other thing you are tracking is Events - this is what users are doing once they arrive at your site. If you want to track individual vendor conversions, you should add an onclick handler to either the submit button, or link that you are calling a "conversion"
For example:
Your link here
If you are adding the push to a form submit, you might want to have that push happen on the pageload of the success page, rather than the onClick of the submit (otherwise it will track the event, and it might not have actually happened due to form validation errors for example)

tracking users with google analytics after they leave my domain to make a purchase and come back

I would like to track where users originally came from when they make a purchase on my site so I know which keywords are more profitable and which websites are best for advertising.
an example is a user is on my site with my google analytics tracking code which has details of where they came from, and then decides to upgrade. they leave my domain to go to my biller (2checkout) complete the purchase and return to my thank you page.
I have transaction code and analytics code on my thank you page and the transactions are showing up with the correct product/amounts in GA however there is no other data and in my reports the referring url is always my biller or a credit card companies authorisation page.
i can manually connect which customer is which by saving their referring data when they first come to the site and then matching it up after they make a sale, but I would like it to show up in my google adwords / analytics account where it is easier to manipulate the data and see trends.
if anyone can help me with this annoying issue I would be vbery greatful, but I fear I may end up living off reports I create and then matching them up with adwords manually :/
One thing you can do is have a click event trigger a custom variable. When the user clicks on whatever link that takes them to your biller, have the custom variable trigger with the information you want to carry over (like the current page URL, some campaign name, whatever). Specify the custom variable's scope as Session or Visit so that it get associated with the thank you page.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
An alternative is to do campaign tracking:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55540
That is more or less the same principle as the first suggestion, but with using specified URL parameters. Depending on how your pages are actually coded, you may need to push a virtual page view with the campaign code(s):
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55521

Resources