Is there an accurate way to track sales in Google Analytics when 3 different subdirectories share the same checkout URL?

We have a weird .Net setup where 3 different subdirectories of a subdomain are different stores, and are considered 3 separate websites.

Main subdomain is store.example.com.

Then each store is like this:




But they all share store.example.com/checkout

I've created separate views for each store, but as you can imagine, on those views, I can't track sales because each view has a filter to only show traffic to that subdirectory. The store doesn't contain that subdirectory name, so sales are ignored.

So I created a rollup view with all 3 stores/subdirectories being tracked at once, in hopes that I could track sales. It is tracking sales fine, but now I'd like to segment out which subdirectory is responsible for what and how many sales.

How would you go about this?

Thank you!

1 Answer 1


This method fails to break out purchases by store accurately because the checkout process is a separate subdirectory

One way to do this is to create a custom segment using sequences. You may need to play around with the URL matching a bit to get it right.

enter image description here

Once you get that set up, you should be able to filter the transactions down to only those sessions that follow that pattern. Repeat this for all your subdirectories.

A more accurate way to do this is to change the site structure so that the checkout process is part of each store subdirectory:







Then set up a segment to capture each store's checkoutprocess URL.

  • Oh, thank you for this! I'm experimenting with it now. It's not perfectly capturing all sales, but maybe I can play around with the URLs like you mentioned.
    – Anthony GP
    Mar 31, 2015 at 20:19
  • What are the exact URI's in your funnel?
    – bleh
    Mar 31, 2015 at 20:23
  • /en-us/checkout and then the final is /en-us/checkout/processcheckout/ with a dynamic code after the trailing slash of course. Interestingly I tried leaving off the trailing slash on "processcheckout" and it showed different, but even less transaction amounts.
    – Anthony GP
    Mar 31, 2015 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.