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
-
Do I need a separate Google Analytics ID for a subdomain on my website?
Hello Everyone, I would like to know if I need a separate Google Analytics ID for a subdomain on my website? I have a sub-domain within my website, and the software for the site on the subdomain is asking for a Google Analytics ID. Should I be using the same Google Analytics ID as the main domain or should I be creating a new Google Analytics profile or ID? Thanks. Ryan
Reporting & Analytics | | RyanUK0 -
Help With Understanding Chrome Web Store Analytics
Hi all, our website Creately is listed in the Chrome Web Store. Its not an extension or an app, but just a link to app which users can use to quickly log into the app and start drawing their diagrams. They do provide you a way to add Google Analytics to track some visitor data like user visits. But we want to figure out from which sections of Chrome Web Store is sending us traffic. When looking at the Source/Medium reports I can see the following. chrome-ntp-icon / (not set) chrome-app-launcher / (not set) chrome-ntp-launcher / (not set) chrome-app-launcher-search / (not set) chrome-app-launcher-info-dialog / (not set) I'm guessing these indicate where we're getting the traffic to the Chrome web store page but I can't seem to find any information about what they mean. Any help will be greatly appreciated.
Reporting & Analytics | | Nishadha0 -
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 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
Reporting & Analytics | | Ideas-Money-Art0 -
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 -
Tracking Social Media Logged In Users Help
Hi, I recently read Tom Anthony's post on "Monitor Which Social Networks Your Visitors are Logged Into With Google Analytics". I have looked and re-looked at the code implemented and after two days I am still not getting any results tracking. Could somebody please take a look at my site and tell me if they see any conflicts or errors I may have made when installing the code. Thanks for any help!
Reporting & Analytics | | BryanCasson0 -
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 -
Need solid, no jargon definitions
Total Links : 15,967 Ext. Followed Links : 2,078 Linking Root Domains : 177 Followed Linking Root Domains : 125 Linking C-Blocks : 117 Simple question, answers in English please. What are these?
Reporting & Analytics | | GeniusGoodsInc0