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
-
When Deployment done for my site in google analytic page views little bit affected
Hello Expert, For my ecommerce site every minute I have 500 visitors now when my development team do deployment like minor JS update where site restart not require then what I found is on website (front end) not able to find anything happen that means visitor not event realize page even refresh but in analytic real time it shows minor pageviews down. So can anyone guess here what happen actually in this case as per google? Thanks!
Reporting & Analytics | | micey1230 -
Tracking a Redirect
Recently a client of mine had a new site developed and had changed their domain, so the old URL is now redirecting to the new URL. They want to be able to track referral traffic in the analytics so we can decipher how much direct traffic is coming in from people typing in the old URL. Is this possible and if so, can I have a guide in doing so? Thanks!
Reporting & Analytics | | DigMS0 -
Google Analytics Organic Accuracy?
Hi, On a cool summers day, I was quenching my thirst for SEO Knowledge in the depths of Google analytics, When I stumbled upon a most troublesome sight. I was Browsing the data inside Acquisition->Keywords->Organic and comparing them to Acquisition->Search Engine Optimization->Landing Pages, to find the results quite questionable.. Since Keywords->Organic measure the visits from the organic results, and Search Engine Optimization->Landing Pages measures the clicks onto one of my landing pages from Google, I assumed they should be the same or very close, (besides Keywords->Organic having visits from other search engines) but they were not the same, as a matter of fact it was telling me that Keywords->Organic visits = 1,474, 27.19% of total(5,422) and Search Engine Optimization->Landing Pages, clicks = 1,548 154.80% of total (1000). Even worst the Search Engine Optimization -> Queries clicks = 1,123, 160.43% of total(700). I have been searching, and come up empty handed in the answer so does anyone know why Google is showing me different results and strange numbers that don't make sense? Any information is greatly appreciated?
Reporting & Analytics | | KBB_Digital0 -
How to setup Google Analytic goals that go to different urls?
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. Thanks in advance!
Reporting & Analytics | | christinarule0 -
SERPS showing wrong page
Hi there, searching Google UK for the term 'wireless alarms' returns the following page at position 39'ish - http://www.compoundsecurity.co.uk/security-information/gsm-gprs-alarm-systems The page that should be returned for that search is - http://www.compoundsecurity.co.uk/security-equipment The page being returned by Google at present is not optimised in any way for 'wireless alarms' but the page it should be showing is optimised for that term and the Moz grading tool agrees. The correct page also has a higher PA and 533 inbound links and the page being displayed has a lower PA and only 3 links. Could some kind soul tell me what i am doing wrong please? Thank you Si
Reporting & Analytics | | DaddySmurf0 -
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 -
Google Analytics bug?
Hi, I'm getting hits to this page, it's screwing up my Google Analytics stats. I know it's related with Google Website Optimizer, cuz it correlates with the tests I ran at the same dates. I'm just wondering if you've seen this before and what I should do to clean my stats? And is this affecting my SEO? Because it's still registering hits to these pages but I already stopped the tests a while go. Should I disallow this in my robots.txt file? Thanks! ga_bug3.jpg
Reporting & Analytics | | rhenster990 -
Duplicate content? Split URLs? I don't know what to call this but it's seriously messing up my Google Analytics reports
Hi Friends, This issue is crimping my analytics efforts and I really need some help. I just don't trust the analytics data at this point. I don't know if my problem should be called duplicate content or what, but the SEOmoz crawler shows the following URLS (below) on my nonprofit's website. These are all versions of our main landing pages, and all google analytics data is getting split between them. For instance, I'll get stats for the /camp page and different stats for the /camp/ page. In order to make my report I need to consolidate the 2 sets of stats and re-do all the calculations. My CMS is looking into the issue and has supposedly set up redirects to the pages w/out the trailing slash, but they said that setting up the "ref canonical" is not relevant to our situation. If anyone has insights or suggestions I would be grateful to hear them. I'm at my wit's end (and it was a short journey from my wit's beginning ...) Thanks. URL www.enf.org/camp www.enf.org/camp/ www.enf.org/foundation www.enf.org/foundation/ www.enf.org/Garden www.enf.org/garden www.enf.org/Hante_Adventures www.enf.org/hante_adventures www.enf.org/hante_adventures/ www.enf.org/oases www.enf.org/oases/ www.enf.org/outdoor_academy www.enf.org/outdoor_academy/
Reporting & Analytics | | DMoff0