Mobile app version of vmapp.org
Login or Join
Reiling115

: How to track sales from multiple subdirectories, in Google Analytics, when they all share same checkout? Is there an accurate way to track sales in Google Analytics when 3 different subdirectories

@Reiling115

Posted in: #Ecommerce #GoogleAnalytics

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:

store.example.com/en-us/store1

store.example.com/en-us/store2

store.example.com/en-us/store3

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!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bethany197

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.



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:

store.example.com/en-us/store1/checkout

store.example.com/en-us/store1/checkoutprocess

store.example.com/en-us/store2/checkout

store.example.com/en-us/store2/checkoutprocess

store.example.com/en-us/store3/checkout

store.example.com/en-us/store3/checkoutprocess

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme