1

Say I have a link:

https://www.example.com/?utm_term=X?utm_term=Y

then what would happen in my Google Analytics page? The same with utm_campaign, utm_source, and utm_content.

  • 1
    With two question marks in there it won't be read as two parameters. The second ? Would have to be an & to be two parameters. Right now it is a single parameter with the value X?utm_term=Y. – Stephen Ostermiller Feb 4 '19 at 15:23
  • So ?utm_term=X&?utm_term=Y? – Ooker Feb 4 '19 at 15:25
  • You only use ? to start a chain of parameters, then, the separator will be & – Emirodgar Feb 4 '19 at 15:28
  • 1
    ?utm_term=X&utm_term=Y would be the correct way to include two parameters. The question mark separates the query string from the rest of the URL. Within the query string, the parameters are separated by ampersands. – Stephen Ostermiller Feb 4 '19 at 15:28
2

In that case, only one will be taken into account. It will depend on the tool that manages the parameters. By default, Google Analytics uses the last set config, so I will say that the last parameter will override the initial parameter.

| improve this answer | |

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.