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
-
Funnel Problem in Google Analytics - Please help
Hello, I did set up a several funnel steps in my analytics account to get the funnel visualization report. But it's look fishy, something's clearly wrong that it shows only 10 visitors at the first step but actually more than 5k visitors has visited first goal page and followed through the another all steps. Everyday we are receiving 5k to 10k goal conversions but it not showing in the entire funnel steps through first step to last step. Please see the attached screenshot URL for funnel setup (Admin) and funnel visualization report comparing last two months traffic. Total goal conversions received 3,605 in last two months but in funnel chart (report) it showing only 2% conversions in last step. Anybody can tell me what is the problem with that or analytics not tracking properly?si65Y
Reporting & Analytics | | flightcentre200 -
URL open with double domain names when click on visit URL link in Google Analytics
I have configured Advance Filter to track the sub-domains traffic as follow : Filter
Reporting & Analytics | | gamesecure
Type: Custom filter > Advanced Field A: Hostname Extract A: (.*) Field B: Request URI Extract B: (.*) Output To: Request URI Constructor: $A1$B1 After that, I am able to see sub-domains record and View Full Page URL In Reports. But when I check reports in All page (e.g. Behavior >> All Pages) or selecting Landing Page as a Primary Dimension. Further I click on Icon given next to displayed Full URL to visit to same domain page, in browser the page
opened but the double domain name comes so page not open successfully. For example : In landing page list following URL given : www.sitegeek.com/compareHosting/arvixe_vs_hostgator If I click on icon given next the displayed URL, in browser following URL will
open https://sitegeek.comwww.sitegeek.com/compareHosting/arvixe_vs_hostgator Is this First Domain with HTTPs, coming from Google Analytic 'View' where this is taken ? How Can I remove double domains? Thanks, Rajiv0 -
E Commerce and cross domain tracking on universal analytics?
Hi Mozzers, I am running into an issue where my client's website ( can refer to domain.com) uses a third party checkout site called rezovation that we can refer to checkout.rezovation.com: I went through this doc here https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain and https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce (for universal analytics) and I still find it confusing so here are my questions: According to my understanding I need a customized GATC to link both domains checkout.rezovation.com and domain.com? If yes(above), do we setup one customized GATC for cross domain tracking on all pages from checkout.rezovation.com and domain.com? if it is the case can someone provide detail steps on how to set it up ( I am not a coder so the easier the guideline, the better) Once cross domain tracking is set up, e commerce tracking code should be only on thank you page should be looking like the image below? Should i add manually all the extra code for the ecommerce tracking code or I can get it done via a third party website? Thank you guys! oPgn8P4.png
Reporting & Analytics | | Ideas-Money-Art0 -
Intranet analytics
Anyone got any suggestions for good intranet analytics? We can't use Google Analytics because the ga.js JavaScript will only work if the intranet can be accessed using a domain name that is fully qualified, but ours is http://intranet. Also, we don't want user data sent to a remote server via the ga.js script. Our intranet is built on SharePoint if that helps. Thanks
Reporting & Analytics | | Houses0 -
How to track what people type on my text boxes on Google Analytics?
Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?
Reporting & Analytics | | ivan.precisodisso0 -
Track shopping cart abandonment?
We have an e-commerce site, and we use Google Analytics. We have created a "sales" goal + the funnel. Our funnel has the following structure: shopping cart - register - login - address - shipping - payment method - confirmation - sales This helps us track "goal abandonment". But we're also interested in tracking "shopping cart abandonment". For example we can see that 100 visitors enter the shopping cart, and 80 of them proceed to register or other steps in the funnel. This means that 20% left the car (shown by a red arrow in Google Analytics). Is there other way to see how many people left the shopping cart without proceeding to any of the other steps in the funnel, for example, people that closed their browsers or went to a page in the site not included in the funnel? I know I'm missing something here... Thanks!
Reporting & Analytics | | gerardoH0 -
Weird info from google analytics?
Hi Could anyone explain what these visits are in Google Analytics? Under traffic sources and organic I am seeing lots of entries with data like below. Any ideas what kind of traffic this is? Is it a bot and if so what is their purpose of it and is it recommended that you block it? Pages/Visit 1.00 Avg. Time on Site 00:00:00 % New Visits : 100% Bounce Rate: 100.00% Many Thanks
Reporting & Analytics | | ocelot0 -
Too Many On-Page Links
I'm getting the warning of "Too many on-page links". I have a number of affiliate marketing sites, all Wordpress, all with sidebars. In the header navigation bar is a link that offers "reviews" and links to each product/brand. This is not a drop down link but leads to a page with product links. Also, in the sidebar I have links that also lead to the products/brands. Redundant yes, but in the beginning this seemed to be a good practice in site design. It would be easy to simply remove the widget that contains the link process in the sidebar. The problem may simply be that the sidebar is the same for every page in the site(s). Is this hurting total SEO as my sites are all over 95-percent indexed. One site in particular does very well in traffic and sales so is removing these links potentially going to improve my SEO and ultimately by success? Thanks, Don
Reporting & Analytics | | JavaManOne0