4

I have a site structured as such

  • www.example.com/en-us/index.html
  • www.example.com/es-es/index.html

Although I have canonical links set up and google is indexing them correctly, google analytics is treating them as separate pages.

How do I set it up so that it treats them as the same page?

1

They are separate pages - the client is using a different request URI for each. Canonical links simply indicate the content has been duplicated.

In order to get Analytics to treat them as the same, you'll have to rewrite the URI for the records. Pick the one you'd like to appear and create a custom filter in Analytics. Use Search and Replace on the Request URI. google analytics search and replace

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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