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
-
Google Analytics: Different stats for date range vs single month?
I've been scratching my head, chin, and you name it over this one. I have an advanced segment to remove bot traffic from my data. When I look at the Audience Overview data for a single month (let's say Aug). I am shown a session count. No problems here, however If I set the date range to (January - August). The august monthly stats is incorrect, much lower. What this means is that, if I export a CSV report from Jan-Aug, the data is wrong compared to individually recording a month. Anyone faced this? I've asked the question over at the Google Analytics technical section as well, but no answer P.S I even used the 'control the number of sessions used to calculate this report' tool but no luck.
Reporting & Analytics | | Bio-RadAbs0 -
Mobile Site on Google Analytics
Hi mozzers, We just launched a mobile site and I was wondering what are the main steps to follow for gettting your mobile site tracked via GA (m.example.com)? We have a profile for www.example.com GATC: javascript or PHP to install? Should the profile be on a subdomain? What else to consider when implementing a mobile site on GA? Thanks
Reporting & Analytics | | Ideas-Money-Art0 -
Setting up Google Analytics for Subsites
I currently have one main .com site and am planning on launching geo-location subsites .co.uk, .com.au, .ru, etc... Traffic will flow between both sites and some of the content on the subsites will be duplicate and therefore include a canonical tag to the main site. I want to set up GA to capture who is going to the subsites and vice versa and correctly capture crossover traffic.  Any advice on implementing advanced analytics directly (or links to sources that will direct me the right direction for this project)
Reporting & Analytics | | theLotter0 -
Google Analytics - In-Page Analytics
I had a strange thought waking up this morning, and was curious to hear other people's opinions on it. In Google Analytics, under Content > In-Page Analytics, Google shows what links on your site pages get clicked and how many times plus other metrics. Â Do you think they use that data for ranking back links so-to-speak? What I mean is, say I had a back link to my site on example.com, and example.com had google analytics installed. Â Google can see through google analytics whether my link has been clicked on. Â Say that my link gets no clicks, do you think that Google would use that metric against my site deeming it "not popular" or "not a good resource", even if example.com was a very popular site? And it could work the other way. Â Say my link got thousands of clicks on example.com, do you think that Google might use that to promote my site? I couldn't find any other discussion on this anywhere, so am not sure if people have already thought about this.
Reporting & Analytics | | THB0 -
Transfer Google Analytics data from one user to another?
Long story short, two weeks of analytics data are stored on a different profile from the rest of the year's data. Is there a way to export all data from a date range, and then import it to another account? Thanks for your help.
Reporting & Analytics | | AmericanOutlets0 -
Google Analytics Goal Tracking Head Match w/ Query Strings
Hello, I have what should be a simple question here but there is a small nuisance I am trying to make sure I have configured correctly.  We have a product based website w/ no e-commerce because they sell through a dealer network.  All these product pages have "Where to Buy" links and the URL after you click where to buy always uses the query string ?r=XXX.  Example: www.mysite.com/product/category/subcategory/product-name?r=12345 I want to setup a goal in GA with a URL and configure head match on the "?r" but which of the following is exactly how it should be configured with the "Goal URL" ?r= ?r r= Does it matter, because I had it setup as "?r" and it was never registering any goals.  Do I need to leave off the "?" and just have it be r= Thanks in advance for the respones.
Reporting & Analytics | | Bevelwise0 -
Does Google Analytics parse visits from search apps?
Does anyone know if Google Analytics reports visits to your website differently from individual search apps like Google and Bing? Or do they just treat them the same as any other keyword visit from Google or Bing search engine? I suppose the end result is probably the same as in the Google app you're using Google so it would just be a different access point versus a new tool. I'm just curious if there is a way to see how many Mobile visits are coming from the apps vs the browser. For me personally I have the Google and Bing iOS apps installed but rarely use them, opting for the Safari search bar 99% of the time.
Reporting & Analytics | | nsauser0 -
Why is Webmaster Tools not Linking Correctly Google Analytics?
I have a global site with .com as the US site and then /country for all other markets i.e. .com/uk .com/de etc. Each site has it's own WMT profile. Each site has it's own GA profile. Since Google added Search Engine Optimization to the GA interface, I can't track these sites separately under this new feature. It seems to me that it can only be associated with a single WMT profile at a time or rather that WMT can only be associated with a single GA profile at a time. The numbers for the UK and US site are identical, but when I try and link the UK WMT account with GA it removes it from the US profile and vice versa.
Reporting & Analytics | | Red_Mud_Rookie0