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
-
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 -
Ecommerce data in universal analytics
Does any have the same issue. We are tracking e-commerce data in GA universal. We are finding that sales are being recorded on the day of the sale and again a few days later. It does only seem to be 1 or 2 sales that do this not all. Does anyone have any suggestions? Much appreciated. David
Reporting & Analytics | | Archers0 -
Google Analytics Code
We have a quick question about our Google Analytics code: We recently updated to a re-marketing Analytics code, and some of our traffic numbers seem to be off by a bit. I used the Google Tag Assistant Chrome Extension today, and noticed that it's finding our old Analytics code on our pages, but it's coming up as an error due to "no HTTP Response". I am attempting to remove this code from the website, but it is nowhere to be found in the HTML coding. Only the current one is there. So I'm wondering if this second Analytics code is effecting our traffic and reporting, even if the code is currently non-functional? and if it is, how could I go about removing it if it's not currently in our HTML? Thanks!
Reporting & Analytics | | PlanetDISH0 -
Why is Google Analytics showing index.php after every page URL?
Hi, My client's site has GA tracking code gathering correct data on the site, but the pages are listed in GA as having /index.php at the end of every URL, although this does not appear when you visit the site pages. Even if there is a redirect happening for site visitors, shouldn't GA be showing the pages as their redirect destination, i.e. the URL that visitors actually see? Could this discrepancy be adversely affecting my search performance? Example page: http://freshstarttax.com/innocent-spouse/ shows up in GA as http://freshstarttax.com/innocent-spouse/index.php thanks
Reporting & Analytics | | JMagary0 -
Help with Analytics
Afternoon all - I hope someome might be able to help me getting some data out of Google Analytics. I want to try pull a report which will show me both what the last page before a goal completion was and the country that generated the click. Is that possible at all? When I go to look at goals, I can only pull data for the last page before the goal click ... and when I look at my goals in the Pages>Content menu, I can only view country. So is there any way of pulling the two set of data together at all? Any thoughts would be really appreciated. Thanks very much, Simon
Reporting & Analytics | | theshortstack0 -
Setting up Google Analytics default URL
If someone has set: the default url in Google Analytics to a non-www address (http://mysite.com) then placed the UA tracking script from that GA account within the CMS framework of the website... ... and then set the permanent 301 redirect in the htaccess file to redirect to the www address (http://www.mysite.com). How less accurrate will my GA analytics measurements be considering the default url within GA is non-www and the permanent 301 redirect in htacess is to the www-address? Anyone know how reliable GA reports are until the default url in GA analytics is changed to match what is the redirected url in htaccess file? _Cindy
Reporting & Analytics | | CeCeBar0 -
Regex in Analytics for longtail content
I have spent quit some time now, trying to figure this out. I wannt to segment landingoage traffic to the longtail content. That's content in the 3rd or 4th subdirectorylevel. I would like to do that by saying google: "Just show me traffic that arrives on landingpages with 3 OR 4 slashes "/" But I can't get a solution, can anybody help in the seoMOZ community?
Reporting & Analytics | | viventuraSEO0 -
What are your top 5 Analytics Reports?
What are for you the 5 most important reports into Google Analytics? Thank you for yours answers guys, Jonathan Leplang
Reporting & Analytics | | JonathanLeplang0