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!
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
-
Need help understanding what happened to our organic search.
I help run an ecommerce business that mainly runs on Google organic search (yes, I realize this is not a good place to be). Last April, we saw around 25-30% of our organic search cut. I’m pretty sure it was due to the mobile update but we had some changes in the past month or two before that. I’m looking for someone to review my analytics account and see what happened. Possibly this is called an audit? Also, we’re looking to ask some questions about long term strategy as we are thinking about a redesign and switching to a new platform. Maybe more content? Maybe more social?
Reporting & Analytics | | kirbyf0 -
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 -
404 errors more than 1.8 lacs, Duplicate Content, Duplicate title, missing meta description increasing as site is based on regular ticket selling (CRM), kindly help
Sites error increasing i.e. 404 errors more than 1.8 lacs, Duplicate Content, Duplicate title, missing meta description increasing day by day as site is based on regular ticket selling (CRM), We have checked with webmasters for 404's, but it is not easy to delete 1.8 lac entries. How to resolve this issue for future. kindly help and suggest the solution.
Reporting & Analytics | | 1akal0 -
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 -
Webmaster tools help
Looking at some Google Webmaster tools data and im a bit stumped. Can anyone tell me if the "not selected" pages should be taken from the "total indexed pages" or are they a seperate entity? The way the data is displayed on the graph leads you to believe they should be taken from the total indexed pages, yet Googles own description of "not selected" pages says that these pages are not indexed. Confused.
Reporting & Analytics | | Silkstream0 -
Newbie Need Step by Step to Track .ca Domaine Redirect from GoDaddy to .com
I, I ask a few time about how to track using Google Analytics, my domain, www.pilatesboisfranc.ca bought at GoDaddy and redirect from the GoDaddy control panel to my domain, http://www.pilatesboisfranc.com/ I don't know anything about coding or webdesign, I did this web site from a theme on wordpress for my wife opening this Pilates Studio in our neighbourhood soon. http://www.pilatesboisfranc.ca/ is advertise on our car.(it will be nice to see if that advertising is worth it!) http://www.pilatesboisfranc.ca/ is redirect from GoGDaddy control panel to the site: http://www.pilatesboisfranc.com/ I had a few answers on this forum, but I'm not sure how to do this. My knowledges are very limited in html and all technical side. Thank to WordPress, Lynda.com and Theme Forest. Those are the tools I took to built this basic web site. Can any body help me track this .ca? I will need a step by step guide to achieve my goal. Google Analytics is instal on the site. Any help will be really appreciated. Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
I need to whitelist the Google Analytics servers via IP Address. Any one know their server IPs?
Due to a walled garden situation, I need to input all the servers we should have access to via IP Address. We need to track the way our users are browsing within the garden, so I require all the IP addresses that Google Analytics would use. I tried googling it, but was not able to find any definitive answers. Thank you in advance, Heather
Reporting & Analytics | | hmckenna0 -
Help with local SEO strategy for service industries
Here is the scenario I often wonder about: My client's tree removal service is ranking in #1 in local search for
Reporting & Analytics | | MozMan2
"tree removal town state." His Google Places account is set for a 30 mile radius. He has lots of directory listings and positive reviews. Some inbound links as well. The same client is ranking #1 in organic listing for "tree removal county state" ...I chose to target the county for organic listings because the client was dominating local search for the town. My reasoning: I thought, Google local search would bring all of the local specific searches for "tree removal town state" and organic listings would bring the broader searches for "tree removal county state." That is exactly what's happening and stats show there are some visitors coming to the site searching with the county name. Not a ton of traffic but a lot of keyword variations using the county name. The bulk of the traffic comes from the his Google Places listing for the town the business is located in which is great. Dilemma: My client is not ranking in local search results for neighboring towns just a few miles away and certainly not ranking in organic listings for neighboring towns either because we are targeting the county. He has a long list of town names he services in the footer area and this does seem to help for organic search in neighboring towns with little competition. Broad Question: How can I optimize pages for the same services in neighboring towns without duplicating content. For example, the home page title tag and H1 reads:
Tree Removal, Tree Trimming, Stump Removal, County State It would be very easy to create identical pages with title tags and page headings for the different towns but that would undoubtedly create duplicate content and would look weird to someone browsing the site. Specific Questions: Should I put the town name where the business is located in the title tag even though the site already ranks #1 for that town in local search, without having the town in the title tag? Why not use this importunity for an area that we are not ranking for? Do I nix the county and state and try to insert another town or two in the title and H1? Ideally I would like to have this site rank well in local search for all of the neighboring towns. This may be too broad of a post, (it is my first one) but perhaps there are a few of you out there that can outline strategies that work for service industries like, lawn care, tree removal, landscaping, etc. Thanks for reading.0