Regex Filter To Exlude lower case urls
-
Buon Pormeriggio from Wetherby 22 degrees the summer continues!
I need to set up a regex filter to knock out lowecase versions of http://www.sandersonweatherall.co.uk/Sales/
Thing is Analytics is returning this lowercase version which i want to regex filter out.So if Regex filter /Sales/$ returns what i eant how do i knock out urls beginning with lowe case s.
Grazie,
David -
Buona sera David,
Go Into Admin for the Profile You Want to Update
Click on Filters
Click on +New Filter
Select Create new Filter
Call it "Lowercase My URLs", or you can call it "Steve", or "Nigel", whatever you want, its a free text field. I find descriptive is usually better.
Select Custom Filter
Select Lowercase (this is a default filter that will take everything and change to lower case).
Filter Field should be set to Request URI
In case you think I am a liar, once you fill out the above a yellow section will appear, click the ? and it will display:
"Google Analytics is case sensitive, so it captures the data exactly as it appears in the location bar of the browser. Therefore, if a mixed case URL is in the browser, it will be captured and displayed as mixed case within your Google Analytics reports. You can use the lowercase filter to change URLs like '/Thankyou.html' and '/ThankYou.html' into one unified URL in your reports: '/thankyou.html'. The uppercase filter can transform these same URLs into '/THANKYOU.HTML'."
Click Save
Note that when you look at your filters in GA, they run in order from top to bottom. So, look at your other filters and see if any would conflict etc to make sure you put in the right order. Once you view filters, you can click the button Assign Filter Order to move them around. You will probably be fine, but you dont want to shoot yourself in the head either.
Prego
-
Buongiorno Clever,
Regarding: are you asking about a filter in GA to do this so your reports in GA are all consistent?
Yes please, this is excactly what I'd like to do (Not 301 redirect to correct camel case)
Grazie,
David -
Just to understand your question, do you want to setup your site with 301s so that it self corrects URLs from Camel case to all lower case or are you asking about a filter in GA to do this so your reports in GA are all consistent?
Thanks!
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
-
Moving an entire section of a website to a new URL
Hello there,
Reporting & Analytics | | CraigFairgrieve
I currently have a website that offers services to both domestic and business clients. Currently these are hosted on a single URL, then split out .com/business and .com/domestic We're going to be moving the .com/business structure and content to an entirely new URL which will be dedicated to only the business part of the business. This will also mean a change in the branding of the existing content as the new URL will come under the name of the parent company. My question is two fold: (1) What's the best way to go about this? (2) What would be the estimated effect on the traffic? Many thanks for your help in advance.0 -
Is there a way to filter all computers on a specific IPv6 network in Google Analytics?
Is there a quick way of filtering the IP addresses for all the computers on a network that's using IPv6? I want to filter out visits to our websites from the devices on our office network, but each computer (and phone and tablet) seems to have a different address. It _looks _like they all start the same way, though. One computer is xxxx:xxxx:xxxx:xxxx:aaaa:aaaa:aaaa:aaaa, another is xxxx:xxxx:xxxx:xxxx:bbbb:bbbb:bbbb:bbbb, my phone is xxxx:xxxx:xxxx:xxxx:cccc:cccc:cccc:cccc, etc. Does this mean that xxxx:xxxx:xxxx:xxxx is the address for our network as a whole, and I can just set up a Google Analytics filter for "IP addresses starting with..."? Or would doing that also filter out hits from, like, every visitor within a 20 mile radius of our office? If I need to simply put in the individual addresses for each and every device, I will. I'm just hoping it doesn't come to that. Thanks!
Reporting & Analytics | | BrianAlpert780 -
"index.htm" for all url's in google analytics
I don't have this issue with other wordpress websites, only this one website, and I don't know what's causing the issue: Google Analytics is adding an "index.htm" to every single page on the website. So it is tracking the pages, I see no errors - is it tracking the right page? When I click on the page link in a report, I naturally go to a "404 page not found" since the website address isn't "www.example.com/rewards/index.htm" - but instead the actual address would be:
Reporting & Analytics | | cceebar
"www.example.com/rewards/". I have navigated to View Settings in GA to insure "default page" is empty. Although adding anything else to this field does not effect the page url in analytics reports either. Could it be htaccess file - or a plugin effecting the htaccess file?_Cindy0 -
Does applying filters in Google Analytics affect Moz Data?
Hello, I'm dealing with spam in google analytics, applying filters (and using segments for historical data) Does applying a filter in GA affect Moz data, future or historical? Is there a way of doing this? Thank you!
Reporting & Analytics | | wearehappymedia0 -
Large event site - how should I structure my URLs?
Hi guys, I'm working on a new website which is consolidating a number of existing event sites into one. The existing sites use a variety of URL structures: www.eventsite1.com/events/event-name www.eventsite2.com/festival-program/event-name www.eventsite3.com/event-name This inconsistency has led to issues with tracking category usage properly in analytics - for instance, with eventsite3.com, events fall within categories (www.eventsite3.com/category-name) but as soon as you drill into an event detail page (www.eventsite3.com/event-name) from the category page, the category is lost to analytics. This is compounded when one event lives within multiple categories, as I can't figure out which category is the most effective for a particular event. I've seen other event sites establish a canonical URL for a primary category, display it in the URL (i.e. www.eventsite4.com/primary-category/event-name) yet still let that event get hit via the secondary categories (www.eventsite4.com/secondary-category/event-name). This way, the categories get passed to analytics without any duplicate content issues (i.e. via the setting of canonicals) Basically, I want to make sure that whatever instruction I give to the devs for the new site re: URL structure is correct from an SEO perspective and analytics perspective. Do I even need to worry about having the category in the URL? Can someone please help me with this? Hope this makes sense Cheers
Reporting & Analytics | | cos20300 -
How to setup Google Analytic goals that go to different urls?
I would like to setup my form's conversion rate as a goal in my Google Analytics account. The goal is complete when someone enters their information and hits submit. Logically, the "Thank you page" would be the destination url for the goal. My problem is that the thank you page is outside of the primary domain, for example, my site is: SiteExampl.com but the Thank you URL is thankyouurl.com Is it possible to setup a goal like this? If so how. Thanks in advance!
Reporting & Analytics | | christinarule0 -
We have detected that the root domain is not a live URL.
I'm trying to add a URL that is having some obvious issues so I can further investigate. When trying to add this site to a campaign in SEOmoz i get the following: Roger has detected a problem: We have detected that the root domain theurbandater.com is not a live URL. Using this domain, we will be unable to crawl your site or present accurate SERP information. == What does that error mean? Where should I be looking to begin troubleshooting? The initial issue was that back on 9/1 according to Google Webmaster Tools this site began getting a high number of 500 erros and that number continued to rise up to 3200 of the same type of error. So something screwy is going on and I'm not sure where to start looking.
Reporting & Analytics | | digisavvy0 -
URL offline advertising
Hi there, I am in a bit of a dilemma, we are going to be doing some TV advertising and using the URL example.com/tv I want this to take the user to the product that we are advertising example.com/product For best practice should have a 301 redirect on /tv going to /product? We are also doing magazine, newspaper advertising also, so the same question applies. Kind Regards
Reporting & Analytics | | Paul780