Can you use an advance segment as a metric or dimension for another advance segment in GA?
-
I have 3 advanced segments set up:
Branded keywords
Non-branded keywords (all)
irrelevant non-branded keywords.
irrelevant non-branded keywords are keywords where the visitor is not ready to purchase. for example keywords including terms such as "ideas" or "how to".. these have generated 0 conversions for us, and I want to track these separately from keywords that have a chance in converting, since the conversion rate between the two groups vary a lot.
for the advanced segment "branded" - i listed a listed of keywords pertaining to the company name - using includes, Matching regexp and | (pipe) between keywords
for advanced segment "non-branded keywords" - i took the same list and excluded matching regexp | between keywords.
**for advanced segments "irrelevant keywords" ** - i took one word as the keyword and used includes, contains, and the keywords.. using OR statement between keywords. pipe doesn't seem to work with the "contains", and only seems to work with "matching regexp".
**What i want to do is excluded all items from "Irrelevant keywords" in advanced segment "Non-branded keywords". but i can't seem to exclude based on another custom segment. **nor can I list - [X statement OR (statement y OR statement Z OR statement AB)]
any thoughts on handling this logic?
-
I couldn't get it to work.. but I did realize that all the irrelevant traffic was going to the same landing page, so i filtered out that landing page (the landing page doesn't product conversions either) instead of the keywords.
-
Just be careful to keep clicking "Add 'AND' statement". The "Add 'OR' statement" link always sits above it. You can add multiple AND statements to an advanced segment.
-
tried using AND instead of OR. .turns it in to A AND B OR (C OR D OR E)
instead of A AND ( B OR C OR D OR E)
-
I may be missing something in what you're saying... but you do see you can do "AND" statements in the advanced segment? See the screenshot attached... in the lower left there is where you click to add an "AND". So you can do include keyword matching RegExp AND exclude keyword matching RegExp? Does that not work for you?
If not, if you know someone good at RegExp, you could build one RegExp to do all of what you're asking.
-
Thanks John,
that seems to be my problem though. I can't seem to combine non-branded & irrelevant keywords into one segment.
I can't use match regexp since they are mostly longtails and there are literally hundreds of irrelevant keywords. so i used "contains", but then I can't pipe (|),, so i have about 5 or so "contains" conditions for irrelevant. i tried to set it up as (exclude matching regexp branded)OR (contains a OR exclude contains B OR exclude contains c OR exclude contains d or contains E) - but it doesn't seem to allow it. it ends up being exclude match regexp branded OR contains a OR exclude contains B OR exclude contains c OR exclude contains d or contains E
-
I think you might need to set up more advanced segments to do this. Create a new one for non-branded keywords excluding irrelevant keywords, set it up to use the conditions from your non-branded keywords segment, and use the conditions from the irrelevant keywords segment, but flip the "include/exclude" for each one, and you should be all set.
-
Yes use this
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
-
How to filter blog pageviews using segments with regex
I must be overcomplicating this. I have a website with a blog structure that includes year subfolders, so: website.com/2019/blog-title, website.com/2018/blog-title, website.com/2017/blog-title, etc. I want to create a segment that I can apply in Site Content > All Pages to get quick stats for all blogs, regardless of year. (Pageviews, time on site, etc.) Unfortunately, Content Drilldown doesn't work well here as it is grouping by each year. I have tried setting up a segment using regex, but am getting a mixture of all pages, not just blog pages. I have set up the segment the following way: Advanced > Conditions > Page, Matches Regex, /2019/(.*?)/ Advanced > Conditions > Page, Matches Regex, /2018/(.*?)/ Advanced > Conditions > Page, Matches Regex, /2017/(.*?)/ Am I going about this all wrong? Is my regex wrong? Any advice is appreciated! Side note: glaringly obvious that now is the time to clean up my URLs. But I'd still love to see the data in its current URL state. Thank you!
Reporting & Analytics | | SoleGraphics0 -
Multiple GA codes, one site.
Hi all, Is anyone running two GA codes on one website successfully? My organisation own a number of websites so we used to have one global GA code on all our sites to track global stats, and then we would also have site unique GA on each property to just track that one property. This worked fine, but of late we seem to be getting no data from the globally based code. Obviously, with the site-specific codes we can enter the name for that domain in GA but for the overall code, it is called 'all.com' I'm wondering if Google has now tied the GA domain to the code or if we are doing something wrong. All the codes are the same as they always were but have stopped working. As a stop gap, we have swapped to using Piwik as the all.com code. However, we are then comparing the stats in two different analytics programs so will get a different result. Also, it would be nice to be able to add the all.com to tools such as this to generate weekly reports. Anyone else having GA woe like this? Thanks. Carl
Reporting & Analytics | | WonkyDog0 -
Google Analytics Page Metrics and Redirects
Hi All- Context: A site has been redesigned. Pages were renamed in the process. Problem: It's very hard to compare before and after metrics because the page URLs are not the same. Question: Anyone know how to do this in Google Analytics? I'm hoping there's some simple trick I just don't know about. D
Reporting & Analytics | | DonnaDuncan0 -
Subdomain tracking in GA
Hi Moz community. Wonder if you could help us out with a baffling Analytics issue. Are there any reasons why the _setDomainName() function in Google Analytics wouldn't track across subdomains correctly? We have been seeing visits to a subdomain come up as referral traffic, even after implementing the right tracking code. Would be interested to hear everyone's thoughts on this. Thanks in advance.
Reporting & Analytics | | mrdavidingram1 -
Can I view lost links?
Hello! One of the blogs I'm tracking has literally lost like half of the number of external followed links. So, I have two questions really 1) is that common at all? it seems odd that that many would be removed 2) is there a way to see the specific links that were lost? Thanks!
Reporting & Analytics | | yandl
Kevin0 -
Distribution of SEOMOZ Ranking Metrics across all Monitored Websites
Hi, I'm looking into building a tool which would incorporate SEOMOZ ranking metrics and I have a few questions with regard to the ranking data which will help me develop it correctly. I have done a few searches, for the information but haven't found an answer to these questions on seomoz - if they exist somewhere then I would be grateful if you could point me in the right direction. 1/. When looking at the values of metrics such as MozRank and DA, is there any information on how this values are distributed amongst the ranked website - EG The mean / median values of DA and MozRank etc of all websites monitored is X & Y . If there were any distribution graphs for these values then even better. 2/. Along the lines of the above - are there any online resources showing similar information for google PR? 3/. What is the calcuation used in the scale of MozRank and DA - ie We have a scale of 1-10 for these values - be we also know the scale in not linear but logrithmic - ie Double the Links of a DA 5 website and you would not end up with a DA 10 website - so what is the calculation which defines the scale. A WBF about google PR by Rand indicated that a value of between 8-9 is used in Google PR - but what about the values used for DA and MozRank etc? Many thanks for your help
Reporting & Analytics | | James770 -
Metrics for guest posting
I have couple blogs willing to publish an article with a backlink to my site. I want to compare them. What SEO metric is the best to use for comparison: Domain Authority or Domain Domain Mozrank or DomainTrust? I want to choose a blog that will give me the most linkjuice
Reporting & Analytics | | Alexey_mindvalley0 -
How to Turn Google Analytics Into Your Own Rank Tracker Using Custom Variables
I followed the instructions here http://www.seomoz.org/blog/gettings-rankings-into-ga-using-custom-variables, but cannot see the report in Analytics under "Custom Variables". As I dont know JS syntax, I assume the code is wrong. I just added dohertyjf's code under my normal tracking code. Can someone tell me if and where the error is? | | Much obliged!
Reporting & Analytics | | zeepartner0