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
-
Help on how to test the DA, PA of the website
Please help me. How to check the DA, PA of the website https://toolaim.com/ . I want to know any quality website to take care of it more. But at present I do not know any forum quality is good and trust. Thank you
Reporting & Analytics | | gogoanimetp0 -
Help needed - traffic reduced by half for no apparent reason - not sure what to do
My client site, https://www.helpinhearing.co.uk/ - has regularly been showing traffic of between 1000 & 1500 sessions per month. I've just looked at their Analytics for September and the sessions have dropped to just over 600! And not only was there a period of around 11 days from September 19th onwards when there was either zero traffic or 1 or 2 visits, but also from October 4th to today (8th Oct) also no visits at all. This has never happened and we've managed this website for several years now. I cannot fathom out why this may be the case. We haven't changed anything on the site from a technical point of view, just added content and usual blog etc pages. Search Console lists 147 pages as 404 errors but there are no urgent messages or alerts/warnings. I really don't know how to proceed and try and find out what is going on with the site. Can anyone offer suggestions?
Reporting & Analytics | | mfrgolfgti0 -
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 -
URL String Tracking Question--Need help!
I am doing some research for a freelance project and found a URL receiving a decent amount of traffic from search with this url string after the normal page url (xxx.com/credit-card-counseling.aspx?match=e&query=debthelper.com&id=22097628847&id=1810807655) Is this some sort of GA tracking code? Why would it be used on that page to track organic search hits if that happens automatically? Would love some help figuring this out! Thanks,
Reporting & Analytics | | RickyShockley0 -
Has anyone had any success when requesting help from Bing?
For the past month I have been struggling to resolve a problem with an increasing number of 404 crawl errors in Bing. (Only Bing reports these error, not Google and not Moz.) I did receive email from them requesting a server log (which I have now sent 5 times.) Their response, please send a server log. The last email I sent (6/21) explained there should be server log attached, if they did not get it, not why not? Do they have a restriction on file size? What other compression types do they accept? It has been very frustrating to deal with them and all of their responses are between 9 PM and midnight. Almost a week later, no reply. Any suggestions how I can get out of this seemingly endless loop and get a helpful response during normal business hours (PDT)?
Reporting & Analytics | | PerriCline0 -
I have data missing in Google and don't know who to turn to for help
Hi everyone, I know this isn't the 'Google help forum' but I'm stuck and I hope someone here might be able to point me in the right direction. For a period last month - Thursday 22nd to Sunday 25th November Google Analytics reports our site as having 0 visits. In addition we have two days which were strangely low - Weds 21st 105 visits, Weds 28th Nov 78 visits. We normally get between 1000 and 1200 visits on a weekday from a global audience (I know that was the Thanksgiving weekend, but the US accounts for ~10% of total traffic). Has anyone else had this problem? If so, what did you do? The "report a bug" board on the Google help forum has a few entries like this, people with 0 visits shouting "help!" into the void with no response. Ideas?
Reporting & Analytics | | StevenHowe0 -
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 -
Using Regex for Goals in Google Analytics
I’ve got a website with 20 different forms; and I’d like to track all 20 form completions with one Goal in Google Analytics. The completion-page URLs follow the pattern below (the website uses Drupal CMS) Form One: www.acme.com/node/2990/done?sid=651 Form Two: www.acme.com /node/2991/done?sid=785 Form Three: www.acme.com /node/2992/done?sid=1021 Form Four: www.acme.com /node/2993/done?sid=459 I believe that there is a way I can use regex so Google Analytics will track if any of these completion URLs appears. Looking for guidance how to format the regex statement.
Reporting & Analytics | | TopFloor0