2

I have written some simple js/php that adds WordPress taxonomies and categories of posts to the urls of blog posts so that we can search in google analytics which posts with matching taxonomies are performing better.

Before I put this live though I would like to know how and if this will effect ranking of those posts. I have tried online but so far i am struggling to find an answer.

example of the URL pre and post URL params

  • https://example.com/collaboration/how-to-activate-teams-together-mode/
  • https://example.com/collaboration/how-to-activate-teams-together-mode/?cat=Team%20Collaboration&brands=Microsoft&region=EMEAAmericasAPAC

Added information thanks to Stephen : The parameters are always consistent. I am doing a pushState refresh to add the url parameters so the page refreshes with the parameters. The posts will always have the parameters. The canonical tag is the original url.

4
  • Are the parameters always consistent? In other words, does the same page ever have two different sets of parameters? Are you redirecting the version without parameters to the version with parameters? Are you changing the site to always link to the version with parameters? Are you using canonical tags, if so, do they have the parameters? Feb 16 at 12:34
  • Yes the parameters are always consistent. I am doing a pushState refresh to add the url parameters so the page refreshes with the parameters. Yes the posts will always have the parameters. The canonical tag is the original url does this need to be updated? Thanks Stephen
    – Sam Smith
    Feb 16 at 12:44
  • 1
    Just an idea, you could pass that information to GA as custom dimensions and not mess up your URLs. Feb 16 at 15:07
  • I will have to look into that as a solution thankyou.
    – Sam Smith
    Feb 16 at 17:02

Your Answer

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

Browse other questions tagged or ask your own question.