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
-
GA 4 Question
What differences are you typically seeing in Google Analytics 4 compared to UA? For one site I have, UA says there were 2,342 new users. GA4 says there were 1,899 new users for the same time period. Does that seem like a normal amount of difference between the two platforms?
Reporting & Analytics | | emilycarimus1 -
Disabling Hubspot AMP plugin - impact on GA
Hello, all!
Reporting & Analytics | | SimpleSearch
What impact have you seen if you've used the Hubspot AMP plugin and then disabled it?
We saw a big jump in sessions, which is weird because GA was tracking AMP pages. I'm trying to wrap my head around why this is happening but my brain isn't working 🙂0 -
Tag Manager & Universal Analytics Code - Do you need both?
Hi Mozzers I've created a container for a domain in Google Tag Manager. Within that container I've created a tag for universal analytics with track type "Page view" and the firing rule "all pages". Can I then replace the Universal Analytics code with the tag manager code? Would it still track all the normal data in Google Analytics? There are no events setup up yet so that's not a concern but there are goals setup tracking which are triggered by a page view. Would they be affected? Thanks Anthony
Reporting & Analytics | | Tone_Agency1 -
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 -
GA profile when migration domains
I'm migrating a .co.uk domain to .com and am trying to decide if I should reuse the same Google Profile (if I can?) or create a new one. If I choose to reuse the same profile so it has historical data, does anyone know if it's just a matter of keeping the same UA profile identifier in place on the page? Or do I have to change anything on the actual profile in GA as well to say "start pulling data from .com now"?
Reporting & Analytics | | Lindsay_D0 -
GA stopped tracking traffic, suddenly, why¿? :-/
2 days ago GA stopped receiving data. It only stopped for one account of all my projects. At this moment there are 5 persons navigating the site and these days there where numerous visitors as they contacted the support team thru the site. GA says that it's receiving the code, hw, I checked it twice. The tracking code is located below the footer, in the body. It was there for few years.... I also checked if there is some js conflict, negative. Is there something that could make the tracking to stop? Does anybody experienced similar problems¿? Should I be worried...¿? (and with SEOmoz server with issues not sure when will see new results.......) EDIT: In Web Master Tools I see results for indexing, with yesterday date, so I assume that the site crawling is ok and must be GA issue.
Reporting & Analytics | | MilosMilcom0 -
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