Advanced Segment on Google Analytics
-
Hello there,
hope everyone is allright and rockin' the SEO world
Was wondering if anyone could give a tip on how to configure an 'Advanced Segment' on Google Analytics.
Basically I need to isolate traffic for 4 specific subfolders. E.g.
- www.mywebsite.com/solutions/A
- www.mywebsite.com/solutions/B
- www.mywebsite.com/solutions/C
- www.mywebsite.com/solutions/D/part1
Please note that the website has more pages under the specific section. E.g
but I only need to isolate the 4 directories (and their own sub-folders) mentioned above.
Any idea how I could do this?
Thanks a lot
Joe
-
BTW: We tried to do segmentation via GA and in our opinion segmentation, custom variables, page groups or any other way of segmenting traffic is "broken" due to the way GA tracks a user's session.
We have confirmed this with GA engineers for the last 9 months (another meeting with them tomorrow), but we honestly believe that advanced segmentation (especially if you are in eCommerce) is currently not possible in GA.
The most reliable way we have managed to get this to work is with an alternative analytics package (doing a POC at the moment).
-
Thanks for mentioning the difference, cause I actually had mixed results appearing in the content page reports. I guess I'll setup a second segment for 'Landing pages' only. Thx
-
I might set up 2 advanced segments for the same section and analyse the differences. Having a clear view on the landing pages are important as well. Cheers
-
Thanks for confirming this issue, cause I'm currently seeing mixed results! Will take on your recommendations of cross checking for sanity.
-
Just be aware of the following limitation when using Advanced Segments - this is related to the way Google tracks visitor behaviour during the session:
If for example you configure an Advanced Segment as "Include Page Begins with '/solutions/A'", and then a visitors visits that specific page (or a subdirectory) and then also visits other pages in that session, you will find a few issues:
- /solutions/Y appearing in the Content Page reports (since the user viewed your /solutions/A page and subsequently within that session also viewed /solutions/Y)
- Your segmentation across goals and eCommerce will not work (if you segment on /solutions/A) and hope to see goals originating from that page, you will get mixed results - i.e. also goals or transactions if the user started from another page.
Just do some sanity checks across the data you want to see in the segments - chances are that you will overreport or report on a slightly wrong thing.
-
As Martijn already told it's important to know if you want the advanced segments to segment those sections as landingpages (do people reach the website through that page) or do you want to see all visitors who reached those sections (without having to enter the site through that page)
Because this will give you another Reg.Ex.
-
Hi Joe,
With some easy regular expressions you should be able to do this and create your advanced segment. I'm not sure if you want the landing pages or pages (the disadvantage is you'll also get the other pages people visited before/after they visited your specified pages) within your segment, so that would be your choice.
The regular expression for your advanced segment would be: ^www.mywebsite.com/solutions/A. The ^ is used for making sure your URL is starting with the followed string/url.
Hope this helps!
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
-
Attribution of conversions to payment gateway in Google Analytics
Hi all, We have been having a problem for a while now where most transactions are attributed to referrals from our payment gateway Sagepay. The issue started a couple of months ago, when we finally upgraded our website to https:// for logged in users and transactions. Before, when we were using http://, transactions were attributed to the correct channel. Even weirder, we upgraded 4 websites and only 2 of them have the issue now, the other two continue to attribute transactions correctly. I added Sagepay to the referral exclusion list which made no difference. Over the weekend, we upgraded to the global site tag and it seems to have improved somewhat, but yesterday 50% of transactions were still attributed to referral/sagepay. I am also seeing an odd issue, where for half of the transactions, the revenue and transaction are attributed to one channel, but the products (quantity) are attributed to another. One of the channels is always referral/sagepay and the other is the channel that the transaction should be attributed to. Has anyone seen this issue before? I'd appreciate any tips that might help us fix this issue. Thanks in advance!
Reporting & Analytics | | ViviCa10 -
Recover/Claim Ownership of a Google Analytics Account in easy steps
Hi All, I just found this useful article on Recover/Claim Ownership of a Google Analytics Account , I've seen same question asked by website owners, webmasters very frequently in many forums so I decided to share the article. **No affiliation, sponsorship, nor any partnerships with ohow.co Thanks
Reporting & Analytics | | Alick3000 -
How to track in google analytic which filters selected in which category?
Hi All, Can anyone tell me how to track which filters selected in which category like in category I have 1) price ( then different - different price) 2) color ( then difference - difference colors) same for size, width, brand etc. Is it possible to track in detail via tag manager? Other than tag manager what are the best way to track filters? Please explain me technical guidance too. Thanks!
Reporting & Analytics | | adamjack0 -
How do I track a primary domain and a subdomain as single site in Google Analytics?
Our website consists of a primary domain (marketing focused) and subdomain (ecommerce platform). The two sites look and function as one site even though they are using different technology. I would like to track the primary domain (example.com) and the subdomain (shop.example.com) as a single site in Google Analytics. The subdomain will be set up with GA ecommerce tracking as well. Can someone provide an example of the GA snippet that each would need?
Reporting & Analytics | | Evan340 -
How does switching to HTTPS effect Google Analytics?
We are looking at making our site HTTPS. We have been using the same Google Analytics account for years and I like having the historical data. All of our pages will be the same, we are just going to redirect from the http to https. Does anything need to be done with Google Analytics? What about other addons such as Optimizely, Crazy Egg, or Share this?
Reporting & Analytics | | EcommerceSite0 -
Google Analytics censoring keywords?
The top keyword on our real time GA is showing as a blank. There's a topic of a sexual nature in our talk threads trending on Twitter right now which is driving a lot of traffic and I'm wondering whether Google have censored the keyword. The next few keywords are our name and variants of. Could there be some other reason why this word isn't showing up? Has anyone else experienced this?
Reporting & Analytics | | CecilyP0 -
Setting up Goals in Google Analytics that involve a 3rd party site
I've set up several goals for one of my clients in Google Analytics. The ones that relate to things on the site -- such as clicking on the "Contact Us" button -- work just fine. However, I set up one that is tracking when someone clicks on a purchase button, which sends the user to a third party site (PayPal). This one doesn't seem to work. (I purchased and item and the goal was not recorded). Looking to see if I have to do anything different when setting up the goal.
Reporting & Analytics | | EricVallee340