Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Google Analytics is catching a number of URLs where there is a unique GET parameter.

It also catches URLs like /pay and /pay/.

Is there any way I can get it to clean up the data and just see tidy page views?

share|improve this question
up vote 2 down vote accepted

If you got to the page with /pay does it load or redirect to /pay/?

When editing your profile you can tell GA to exclude some query parameters

To force GA to skip certain query string parameters when processing we enter the unwanted parameters in the ‘Exclude URL Query Parameters:’ filed in the ‘Main Website Profile Information’ section.

share|improve this answer
Both /pay and /pay/ show the same content. Will try the Exclude settings. – cjk Jul 19 '12 at 8:38
There are also advanced filters which you can use in Analytics – Anagio Jul 20 '12 at 19:06

Be careful with trailing slashes, as /pay and /pay/ will be treated as two different pages and you may be penalized for duplicate content.

I think the issue is more about tidying up the URLs to make sure there is a trailing slash.

Add the following code to your .htaccess file to add a trailing slash to all URLs. It is also useful to include a canonical link on all of your pages to help eliminate potential duplicate issues.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule (.*)([^/])$ http://example.org/$1$2/ [R=301,L]
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.