How do I set up goals in analytics to track the sales funnel when several pages of the steps required to checkout have the same url?
-
I have found this in Google Analytic but it makes no sense to me - is there are better resource which explains how you do this step by step ( or a good video perhaps?)
Identical URLs Across Multiple Steps
In some situations, the URL does not change across a sequence of activity. For example, a sign-up process might have the following URL path:
- Step 1 (Sign Up):
www.example.com/sign_up.cgi
- Step 2 (Accept Agreement):
www.example.com/sign_up.cgi
- Step 3 (Finish):
www.example.com/sign_up.cgi
To track visitors' progress through a funnel with the same URL for each step, modify the tracking code to create a virtual URL for each step in the sequence that you want to track. For details on how to use this in your tracking code, see Virtual Pageviews in the _Asynchronous Migration Examples_guide, which shows how to do this in all versions of the tracking code. The following example shows how you might fabricate 3 URLs using the asynchronous tracking code:
_gaq.push(['_trackPageview', '/funnel_G1/step1.html']); _gaq.push(['_trackPageview', '/funnel_G1/step2.html']); _gaq.push(['_trackPageview', '/funnel_G1/step3.html']);
You would then define your funnel and goal URLs using the ones you created in the tracking code modifications.
- Step 1 (Sign Up):
-
Thanks Paul I will give it go..much obliged.
-
In order to track those steps even though the URL doesn't change after each step, you have to create what is essentially an extra "fake" page view to be fed into Analytics each time a visitor takes an action towards the goal on that one page.
So you will add a bit of event tracking script to each action the visitor takes. The result will be that each time a visitor triggers an event (clicking Add to Cart, clicking Proceed to Checkout etc.), it will be seen by Analytics as a new page view. You can then include these new pages as the steps in your goal tracking. (You'll create the names of these pages in the event-tracking code you insert)
Dos that help it make sense?
Paul
P.S. The one caveat to all this - each of the new events will be tracked as pageviews in Analytics, artificially inflating your overall pageview metrics. You'll need to filter them out (using custom reports or a separate profile) in order to keep them from distorting the real pageviews and creating misleading data for the other analyses you might be doing.
-
Yes. Its like this...
add to cart = /cart.php
Proceed to Checkout = /cart.php
Submit Customer Details = /cart.php
Submit to Payment/Order Page = /cart.php
Order Confirmation = /success.php?oid=
-
If the URL's are all the same are there different actions that the user is taking on the page?
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
-
Mismatch between analytics and webmaster tools
Hi, I've noticed that the Queries report in analytics gives a completely different answer (for impressions, clicks, CTR, Avg. position) to webmaster tools. What gives? Which would you use? Thanks, Amelia
Reporting & Analytics | | CommT0 -
Analytics - 'other'
When i look in GA under Channels (under Acquisition) 'other' is listed What is 'other' ? I have been told its other unidentified channels as they did not allow 3rd party cookies or surfers were in anonymous/private mode. Other is usually organic traffic that couldn't be identified for the aformentioned reasons. This data is encrypted and available but it violates Google guidelines as they are not allowed to pass personal info//data to third parties so it is automatically filtered. But they are not 'Not Provided' (since that still shows under organic) but is usually/mainly some form of organic visits. Hence Seo can take credit for much of that traffic, is this correct ? Many Thanks
Reporting & Analytics | | Dan-Lawrence0 -
Block IP from analytics
How can I block an ip from analytics? basically so I do not see test orders from a certain ip in the sales performance section? Thanks for any help.
Reporting & Analytics | | tdigital0 -
How do I add event tracking to these buttons?
I have two separate events that I would like to track on my site. [Ask a Question](javascript:__doPostBack('ctl00$MainContent$AskQuestionButton','')) and I think I would want to use this-_gaq.push ([‘_trackEvent’,’event category’,’event action’,’event label’, event value]); Is that correct? Where would I place it in the button code? Would this work?
Reporting & Analytics | | EcommerceSite
_gaq.push ([‘_trackEvent’,’AskAQuestion’,’Submitted’,’event label’, event value]); The event doesn't have a label or value. Are those left blank?1 -
Cross Domain Tracking
I want to track across domains, but also track as a virtual pageview anytime someone clicks on the link to another domain. So currently I have, for example: Checkout Now! As per Google's instructions, I need to have the link set to: Checkout Now! But this will obviously get rid of my virtual pageview. Is there a way I can do both?
Reporting & Analytics | | TeachersMutualBank0 -
Google analytic conversion code in a single wordpress page
Hello How can I add/place the Google analytic conversion code in a single wordpress page? Example: http://www.newsmilecostarica.com/thank-you/ Thank you so much Andy
Reporting & Analytics | | newsmile0 -
Set up Google Analytics by product category
Does anyone know if it's possible to set up Google Analytics data by product category? We sell roughly twenty product categories on our ecommerce site. We can look at our analytics performance for the site overall and drill down to specific pages, but what we really want to see is our performance by product category. Our product categories can include up to 5000 products. Any pointers on how to do this?
Reporting & Analytics | | ironpac0