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!
-
Hi Kristina,
Would you rather do it a different way?
Thanks
-
Hi Kristina
I would love to share this infor but I can't do it here. Can I get you email or so so I can send you the detailed titles.
Thanks Kristina
-
Yep, I definitely think you could! Could you send me a list of the page titles you want to target, along with some page titles that you don't? The key is to be very specific in the pattern, so it doesn't include any pages that aren't in the Spring location pages.
-
Hi Kristina,
the difference between them is that one is about spring cleaning and the other I would like to capture traffic is in Spring texas.
Regarding the page title, they are pretty similar but not identical. Do you think I could use that option? If yes can I include 11 page titles (since I am trying to track all the Spring Texas location pages) ? If yes how would I add this type of filter?
Thanks!
-
(Whoops, sorry, didn't get the notification when you first posted this)
Hm, so, it doesn't look like you're using a subdirectory here. You're using "spring" in the page. If you were using a subdirectory, it would look like this:
And so on.
Since you're using a page, though, I think that you'll need to use a custom filter (the second radio button at the top). You can choose to "Include" anything: page title, campaign, referrer, etc.
These sound like they're very similar pages, so are you using a similar page title between them? Something that would be very specific to this type of pages?
-
Hey Kristina,
Do you need more information or it enough?
Thanks!
-
Sure Kristina,
Don't want to include:
example.com/....-colorado-springs
example.com/..../spring-cleaning-....
include:
....
Thanks Kristina!
-
Hi Taysir,
Could you give us examples of the URLs you do and don't want to filter into this profile? You can make the domain www.mydomain.com so it remains anonymous.
Thanks!
Kristina
-
Hi mozzers,
the question is little tricky but if someone knows any useful resources, it would be great share those instead.
Thanks guys!
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 -
Possible penalty question - need expert help
hallo everyone, I am posting this question to the MOZ community, because I could not find any useful information or proper advice so far, even after consulting a few local SEO experts. I noticed from the end of september a steady and consistent decrease in visits (please see attached pdf) for my website https://bastabollette.it I lost so far almost 40%. Please consider that I have not changed my habits in blog posting lately, both in quantity and quality. I have not made any subtantial change on the website lately. I did a general audit of the site asking to an expert but apart from some generic suggestions (like: "work on increasing PR, add more quality backliks, use more no-follow links, fix broken links" - things I am currently going to fix anyway) I don't really understand the reason of the drop. Please also note the strange drop of 11/22/15 (see search console screenshot). Can you please help me? thank you. Selezione_018.jpg Selezione_019.jpg
Reporting & Analytics | | micvitale0 -
How to RegEx?
Hi, can any one help me to write a regex for below url? ?search={"AirportCode":"BHX","HotelCheckInDateAtStart":"16/06/2013","CarCollectionDate":"29/06/2013","RoomConfigs":[{"Adults":"2","Children":"0"},{"Adults":"2","Children":"0"}],"NumOfRoomConfigs":2,"NeedHotelAtEnd":false} Thanks
Reporting & Analytics | | APH0 -
Major practices which helps to index pages by google.
Actually, We have submitted more than 100 pages in to google through xml sitemap. But, we see in that 75% of the pages where indexed by google. Note : Excluding the duplicate pages
Reporting & Analytics | | Webworld_Norway0 -
Google analytics for mobile apps - do we need different id's?
Dear all, if I want to implement Google Analytics for my mobile apps: Do I need different accounts or id's to ensure separate tracking of my website and mobile apps? How did you do it? Thanks!
Reporting & Analytics | | HMK-NL0 -
Embed elements on my page help decrease my bounce rate?
I've embed elements on my page (vídeos, presentations) and i was wondering if when someone uses them it counts for the bounce rate. Thanks!
Reporting & Analytics | | lnjaine0 -
Subdomains and SEO - Analytics & Webmaster Tools Setup Help
Any advice on the following greatly appreciated: How to get multiple subdomain data into 1 Google Analytics profile? Can we get multiple subdomain data into Google Webmaster Tools (and if so how?) or do we need to set GWT up per subdomain?
Reporting & Analytics | | AndyMacLean0 -
Low bounce rate; need help troubleshooting code
I've had an outside developer do a bunch of custom work in Google Analytics to get my site to integrate with Foxycart and accurately report sales in the ecommerce section. With a foxycart upgrade came more GA tweaking, and now my bounce rate is at 1-2%. I know this isn't right, and suspecting there is something triggering GA a second time, causing a second page load, or something. Could someone that loves code look at http://www.strikemodels.com/ and tell me if they can easily spot what's obliterating the accuracy of my bounce rate calculations? Or do I need to go back to my dev and up the can of GA worms to troubleshoot things? As you can tell by the code, I'm running the latest version of WP with a few plugins, Thesis 1.8, and on Apache.
Reporting & Analytics | | KeriMorgret0