Tracking Codes with two "?"

zsolt_a1

25-11-2019

Hi everyone,

is there an option to track URLs with CID parameters like:

domain.com/pages/viewpage.action?pageId=374342432

When I add a ?cid parameter to the url, the website is not available or gets an 404 error.

Possibly because the two "?".

domain.com/pages/viewpage.action?pageId=374342432?cid=MAIL:...

I tried:

domain.com/pages/viewpage.action?pageId=374342432&?cid=MAIL:...

Here is the link working, but the tracking seems not to track.

Ps: I deleted the https because I don't wanted that the domain gets linked.

I'm happy about any help!

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Asheesh_P

MVP

25-11-2019

Hi,

In your second example remove second ? to make it work. E.g. domain.com/pages/viewpage.action?pageId=374342432&cid=MAIL:...

Rules:

If you using cid param first than use ?cid= just after end of page url.

eg. domain.com/home?cid=MAIL..

If there is already a ? in page url like yours just use &cid=

eg. domain.com/pages/viewpage.action?pageId=374342432&cid=MAIL:...

Thanks,

Asheesh

Answers (2)

Answers (2)

michelles90014

04-08-2020

Hi there,

 

Because you can only have one question mark in a query string or it freaks out your website, here's how you should build the URL:

 

Your Original URL: domain.com/pages/viewpage.action?pageId=374342432&?cid=MAIL:...

Correct URL: domain.com/pages/viewpage.action?pageId=374342432&cid=MAIL:...

 

Note the second question mark in front of the cid= was removed.