Tracking Codes with two "?"

Avatar

Avatar

zsolt_a1

Avatar

zsolt_a1

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)

Avatar

Avatar

Asheesh_P

MVP

Avatar

Asheesh_P

MVP

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)

Avatar

Avatar

mesood

Avatar

mesood

mesood

05-08-2020

You can use ameprsand sign for sending multiple query parameters as shown below:

 

www.example.com?cmpid=hhhh&source=ssss&medium=dddd

Avatar

Avatar

michelles90014

Avatar

michelles90014

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.