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
-
Need advice on setting up primary domain and shopify site analytics to work best together
Hello, I have a client that I have been working on their primary site for the last year or so. In the last month they decided to have one of their internal employees setup a small shopify store. Now they are asking for the analytics tracking codes for it. My question for you is what would be the best way for me to set that up? variables: primary domain and shopify domain, google and bing analytics Have been looking at how cross domain tracking works (https://support.google.com/tagmanager/answer/6106951), and the instructions for setting up ecommerce in analytics for shopify (https://help.shopify.com/manual/reports-and-analytics/google-analytics/google-analytics-setup). But am still not 100% which route would be the best, any input would be greatly appreciated! thank you, Dustin
Reporting & Analytics | | pastedtoast1 -
Queries vs. Organic Keywords in GA
Could someone explain how the following metrics in Google Analytics are being calculated: Search Engine Optimization (Acquisition): clicks on a certain query Campaigns (Acquisition): sessions on a certain keyword GA Help states that both 'queries' and 'organic keywords' refer to the actual string a user enters in Google Search. In that cases it seems that 'clicks' on a SERP result through a given query and 'sessions' through that very same query could not be miles apart. E.g.: Clicks through query X = 170 Sessions through organic keyword X = 8 Thank you for helping me out!
Reporting & Analytics | | WeAreDigital_BE0 -
Can't identify the real source of a goal because subdomains in GA
Hello, I have one domain for my website (www.domain.com) where I receive all the new traffic and a subdomain (billing.domain.com) for the billing system. Im tracking both in Analytics. I have a goal (new order) configured in the subdomain -billing system-. But when I want to track the source / medium of the goals (new orders) in billing.domain.com, always appears my main website (www.domain.com) as the referral. Now I added in Analytics: Admin > Property > Referral Exclusion List, the www.domain.com and domain.com. Do you think that now I can track the real referrer of the goals? Or should I do a more complex tracking setup with Tag Manager ( https://support.google.com/tagmanager/answer/6106951 ) to pass the session cookies from a subdomain to another one, just to identify the real source / medium of the visitor? Thank you 🙂
Reporting & Analytics | | estebanseo0 -
My GA code is on my site but Google Analytics isn't being pulled into SEOMoz...why?
The CEO wants me to present an SEO plan next week for three of our sites; however, I got this message when I went to campaign overview tab: "It appears there's a problem with our connection to your Google Analytics account. Please go to your Settings page to update your connection." I double-checked the GA code and it's the same on both our site and in SEOMoz...what gives? I clicked on Choose Your GA Profile->Set GA Account and Profile then got this warning: "Are you sure you want to change your Google Analytics connection? Changing your connection will reset our cache of your historical GA traffic data." I need this data pronto so I can set strategy for three sites; any help would be greatly appreciated! Darrell
Reporting & Analytics | | AdviceElle0 -
New GA interface - Number of conversion by source
Hi Guys, Hope this is an easy one for a GA ninja. In the new GA interface, how can I view the number of conversions by source, instead of the default conversion rate by source. For example, if I want to view the number of conversion from Adwords. I'm looking at Goals > Source / Medium > Google CPC and looking at Goal Set 1. However all data is expressed in percentages. Thanks in advance!
Reporting & Analytics | | David_ODonnell0 -
I am showing no (not provided) visits in GA. Is that possible?
When reviewing Organic search traffic on my site, there no (not provided) visits. Not one. I searched for the term while viewing all keyword visits and still nothing! I find that hard to believe that is possible with 6,000 monthly visits. Is something wrong? Help?!
Reporting & Analytics | | SignifyMarketing0 -
Segmenting traffic from referring sites in GA
Most of our traffic is from Referring sites, and in referring sites, job sites are sending most of the traffic. How can we segment traffic from job sites. There are about 40 such sites. We would like to receive a report which shows traffic excluding from these job sites.
Reporting & Analytics | | seoug_20050 -
GA Tracking Code for Ecommerce cross-domain tracking
I need help. Scenario: Microsite: www.example.com Prospect clickc "buy" button and is taken to 3rd party ecommerce cart (e.g. shop.domain.com) Questions: Will the Google Analytics Code sample below allow us to track what we need? We need to exact syntax code for the micro site. What is the specific code that needs to be added on the 3rd party shopping cart pages.
Reporting & Analytics | | 190west0