Tracking Codes with two "?"

Avatar

Avatar
Validate 1
Level 2
zsolt_a1
Level 2

Likes

8 likes

Total Posts

20 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
zsolt_a1
Level 2

Likes

8 likes

Total Posts

20 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
zsolt_a1
Level 2

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
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

146 solutions
Top badges earned
Applaud 500
Affirm 100
Contributor
Boost 100
Give Back 10
View profile

Avatar
Applaud 500
MVP
Asheesh_P
MVP

Likes

130 likes

Total Posts

334 posts

Correct reply

146 solutions
Top badges earned
Applaud 500
Affirm 100
Contributor
Boost 100
Give Back 10
View profile
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
Boost 5
Level 2
mesood
Level 2

Likes

16 likes

Total Posts

51 posts

Correct reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 2
mesood
Level 2

Likes

16 likes

Total Posts

51 posts

Correct reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
mesood
Level 2

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
Level 1
michelles90014
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
michelles90014
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
michelles90014
Level 1

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.