GA Regex Help Needed!
-
Hi mozzers,
I am just discovering the RegEx world so I need your help. I would like to create an advanced segment to track 40 specific pages that have very different URIs from each other.
Can you tell me how using RegEx?
The dimension would be "landing pages" then not sure...
Thanks
-
Thank you Meme!!
-
you got many wildcards bur this one is quite straightforwardif you write:
/(.*)ward/ --> you're matching /ward/ and any thing which contains that word at the end like /forward/
if you write /(.+)ward/--> you're forcing that should be something before so you're takin /forward/ but not /ward/
-
Thanks Mememax
Can you tell me more about the wild card (.*)?
-
this site has a good syntax table which summarizes all the parameters you will need. http://www.regular-expressions.info/reference.html
mainly you want to use the OR parameter like(this|this2|this3|thisN) also wild card like (.*) may be helpful.
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
-
Excluding Cookieless Static Content Sub-domain from GA/GTM
For the purposes of this question our ecommerce site url is www.ecommerce.com Our TLD is ecommerce.com We have, following advice from Yslow, Pagespeed and others, moved our static content to a subdomain - static.ecommerce.com We have Google Analytics and Enhance Ecommerce installed, fired from GTM. The cookieDomain setting in GTM is 'auto' At present cookies are being attached to our static resources. What changes do I need to make to to prevent this happening? Many thanks Julian
Reporting & Analytics | | jdeb0 -
GA visitor number inconsistencies?
Hey Mozzers Recently a client of ours undertook a paid campaign using Taboola and have a vast difference between reported clicks and visitors reported by GA. On further investigation the _utm.gif event is sent to google-analytics.com 50% of the time and stat.g.doubleclick.net the remaining 50% of the time Is this likely to be the cause of the discrepancy and if so is it possible to resolve this without removing the remarketing tag (which seems to be responsible for stats.g.doublelclick.net). Many thanks Justin
Reporting & Analytics | | JustinTaylor880 -
No paid conversions shown in GA Multi Channel Funnel
For some reason paid conversions are not showing in the Multi Channel Funnel and nothing shows under the adwords tab. What would be the reason?
Reporting & Analytics | | jbk3650 -
GA not recording visitors PART 2
Further to my question yesterday where all data for Wednesday 31st July 2013 was not showing - the data did reappear yesterday afternoon. But today, all data for yesterday seems odd - across all my projects visitor numbers appear to be around 40% down on the norm. Sales were normal, so I wonder if this is another glitch - anyone else seeing strange stats in GA for yesterday?
Reporting & Analytics | | FDFPres0 -
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?
Reporting & Analytics | | S.S.N0 -
Switching Google Analytics from Urchin to GA
I want to finally make the switch from Urchin to GA in Analytics, but the Google support page is no longer working (I realize I'm late to this so they likely took it down/moved it to where I can't find it). I've been searching on Google but can't find a straightforward guide to changing that won't disrupt my data. Anyone have a link to a working guide, or can you provide some guidance?
Reporting & Analytics | | Axios_Systems0 -
Need Tips to Track Advertising of Domain on my Car
Hi, I'm working on building a new site. http://www.pilatesboisfranc.com/ I also bought the domain .ca (the business will be in canada) .net .org and .info All the domains are redirect to the .com This site is about my wife new business, a Pilates Studio. We would like to advertise the site on our personal car, using vinyl letters to display the domain name. Is there a way tu use the (.ca) http://www.pilatesboisfranc.ca advertise on my car and track that advertising using Analytics? I know I can use a URL something like http://www.pilatesboisfranc.com/health and track the hit, but using a shorter URL is the key. Can you help? Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
Google Analytics help - exporting reports
Hey mozzers, A little help if you will. I am in traffic sources > sources > search > organic I am view keywords and comparing 1 month with another. Now I see what 1 keyword sends 1st month, 2nd month and % Change. I want to export this data to an .xls file. When I do, I end up with a file that shows what 1 keyword sends 1st month and 2nd month, but no % Change! I really need to include this in exported document.... Summary: Analytics hates me. 🙂
Reporting & Analytics | | MirandaP0