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!
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
-
Right way to delete and update old blog-posts?
Hi all, Rand Fishkin once tweeted about success story of Quickbooks blog as they deleted their old and outdated content to show only high quality content to their audience. We are planning to implement the same strategy to our blog which consists of 800+ blog-posts. I'm just wondering the best way to proceed on this and planning to follow as below. Please correct me if I'm wrong and if there are any better steps of follow: Get the list of blog-posts. Check the traffic of each blog-post. If the blog-post needs to be existed, update any info on the blog. If the blog no more needed, do I need to delete or noindex or redirect? What's the better way to measure the success? Thanks
Reporting & Analytics | | vtmoz1 -
Query on Product List Position After doing filters
Hi All, I have implemented enhance ecommerce with tag manager now I am implementing Product List Position so I have query that if visitor do filter or do sorting via highest or lowest price at that time do we have to show List position too? If yes then how and if No then why?
Reporting & Analytics | | Arnold3
Thanks!Mitesh0 -
In Google Analytic Experiment I want to Judge Performance of Page Along with Pageviews, Bounces, Transaction etc
Hi All, For my ecommerce site for mobile site category page I have redesign the page in 2 different ways so one original page and 2 new designs. Now I want to do A/B testing with google experiment. I want to measure performance of page via pageviews, bounce rate, exit rate, conversion rate, add to basket etc. Now in objective for this experiment I can select anyone thing either Pageviews, or bounces or transaction or goal. So my query is 1) I cannot select all objective together? 2) or for same page I have to create too many experiments by selecting each objective? 3) exit rate or add to basket objective is not in experiment list so? Thanks!
Reporting & Analytics | | dsouzac0 -
Looking for a good GA plugin for Wordpress blog
We're looking to install a plugin for our Wordpress blog, to be able to receive analytical data right in our wordpress dashboard. Can anyone suggest a good one that is working well for them? We are looking for one that is either free, or fairly inexpensive. Google Analytics Dashboard for WordPress appears to be a front-runner for us, has anyone had any experience with this plugin? Thanks so much! Amiee
Reporting & Analytics | | Amiee0 -
Virtual Pageviews vs. Destination URL for Goal tracking
I am working on setting up goal tracking. Currently when we receive a new signup, the person gets sent to their dashboard homepage and this is not a valuable a goal tracking destination. My suggestion was to build a "Welcome" interstitial page to send a user to when they create an account. Our tech team suggested using a Virtual pageview instead as it is their thinking that a "Welcome" page adds little value. Is there any downside to using Virtual Pageviews with regards to goal tracking?
Reporting & Analytics | | Vacatia_SEO
Are interstitial page more reliable?
Can you still use funnel visualization with Virtual Pageviews?0 -
Enable Demographics and Interests reports using analytics.js
Hi, I may be going mad, but i can't find the code to activate demographics and interest reports if you are using the new analytics code. I can only find the code adjust for the old code. Any one know where to find this? Thanks Paul
Reporting & Analytics | | eminent0 -
Why we shouldn't use AWstats to measure marketing efforts?
and what are the disadvantages of awstats compared to Google Analytics?
Reporting & Analytics | | esiow20130 -
Do I need to turn off custom results or empty my cache before using the SEOMOZ Pro Rank checker?
I'm getting unusual swings in SERPS ranks from one day to another (I had several keywords ranked in top ten go to the the third or fourth page in a week). I knwo that there's always variation because of localized and custom search, but this seems to be something more.
Reporting & Analytics | | bbelgard0