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
-
How to interpret search "clicks" in GA?
I am trying to make some sense of the data in the "Landing Pages" report under "Search Engine Optimization" in GA versus the data under the "Landing Pages" report in "Behavior | Site Content". For example, the SEO report says my page http://www.asiantraveltips.com/blog/bangkok-skytrain-bts-mrt-lines/ received 22,000 search impressions in the past 30 days and 900 "clicks" (12.42%). What are these "clicks" when the Content "Landing Pages" report says the same page only got 382 "sessions" in the same period??? What are these "clicks" if not clicks on the search results link that should be reflected in landing page sessions on the corresponding page?
Reporting & Analytics | | Gavin.Atkinson0 -
Looking for a good GA plugin for Wordpress blog
We're looking to install a plugin for our Wordpress blog, to be able to receive analytical data right in our wordpress dashboard. Can anyone suggest a good one that is working well for them? We are looking for one that is either free, or fairly inexpensive. Google Analytics Dashboard for WordPress appears to be a front-runner for us, has anyone had any experience with this plugin? Thanks so much! Amiee
Reporting & Analytics | | Amiee0 -
Help w/ Google Event tracking w/ new Universal analytics.js
I want to implement Google event tracking after my visitors complete an estimate form. The form provides them an approximate range of costs based on their widget and widget amount. I have the php coding done, but I don't know JS and I need to send an event upon completion of the estimate form. However, all of Google's examples are button click events. How do I send the event upon completing a form if there is no separate landing page? If I have my Google analytics code on the page as well, would simply adding the following the completed estimate code work?
Reporting & Analytics | | TheDude0 -
Need REGEX help
Hi Mozzers, I have multiple filters in one of the GA accounts I manage. I just created new pages that have URLs containing the keyword "spring" (location in texas) and wanted to filter out spring in the GA Spring profile(screenshot) . My issue is it will filter all the URLs containing the kw spring and the website has multiple blog post containing the same kw (spring). So what I need is a Regex formula so I can make sure I track only the Spring tx traffic and not the blog posts. Thanks for letting me know how can I do that! xejc38l.png
Reporting & Analytics | | Ideas-Money-Art0 -
Images Getting Indexed Making for Low Engagements Times in GA
I have quite a few images that are being indexed for popular search terms and are getting clicks. This site has a 0-10 second engagement of 69%. I would like to eliminate these images from the equation because I tend to think they are hurting my "quality score" in organic Google rankings. How do you keep these images from ranking? I suppose I could rename them. Should I disallow the images folder? I hate to do that, because some of my images turn up in local searches, which is good. I would rather keep those. But what is best practice? A little background info, this is a local service site. So the images that are ranking are coming up for a broad national type search. This has 0 value for the site. Any advice or suggestions would be appreciated, Thanks! Kathy
Reporting & Analytics | | MSWD0 -
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 -
Keyword referrals in GA
Hi chaps, Quick question for you. I'm drilling down in GA to one of our eCommerce pages which has a pretty high bounce rate. I'm looking at referring keywords and they don't seem to make much sense. The page I'm looking at is a pretty deep page but the top referring keywords are all branded terms. The page isn't included in our site links. To explain a little further, this is the scenario I think is happening: User searches using "Brand term". They then click through to our homepage and eventually land on the deep shopping page (on a different subdomain) In GA Content > Site Content > Pages > Primary dimension set to keyword - "Brand term" shows as the referring keyword. Does this sound right? We have a custom GA script set up to track multiple subdomains.
Reporting & Analytics | | Confetti_Wedding0 -
Tracking visits who entered the site via subdomain in GA
Hello, Does anybody know how I can segment visits who entered my site via subdomain? For example: I want to know people who entered via subdomain.example.com/***** and not include people who entered via www.example.com Thanks in advance!
Reporting & Analytics | | A_Q0