Expand my Community achievements bar.

SOLVED

Question on campaign code parameter for AC

Avatar

Level 1

Hi team,

 

Adobe Campaign Classic and Adobe Analytics are connected to Data Connector.
(https://docs.adobe.com/content/help/en/campaign-classic/using/getting-started/connectors/adobe-analy...)

 

When the e-mail is generated, 'cid' and 'bid' are generated as Query String at the end of every links.
When it is in 'URL + #Id + Query String' order, 'cid' is located between URL ans #Id as followed.
(URL + cid + #Id + Query String)

 

However, we want the 'cid' parameter should be located at last as followed example.

 

<Original link> (url + #id + query string)
http://www.test.com/test.html#section1?a=b 

 

<Current: Changed campaign tracking link>
http://t.test.com/r/?id=abcd,efgh,hijk&cid=A00&bid=B00 

 

<Current: Link changed after clicking on link above> (url + cid + #id + query string)
http://www.test.com/test.html?cid=A00&bid=B00#section1?a=b 

(Do you see the two "?" signs here????)

 

<Desired formation> (url + #id + query string + cid )
http://www.test.com/test.html#section1?a=b&cid=A00&bid=B00 

 

When there are two "?" marks in the url, the last one is not captured.
In turn, we want to generate the url as the desired form.

 

Is there any solution for generating desired formed url?

 

Please help me figure out how to solve this problem.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @Sooin_Jeong ,

 

While designing the emails you can manually add the links to your CTA button or the sections where you want the link.

The Link should be something like this: http://www.test.com/test.html?a=b#section1

 

Adobe will automatically detect the presence of ? in the URL and will change the URL to something like this while adding the cid and bid.

http://www.test.com/test.html?a=b&cid=A00&bid=B00#section1

 

And this will be the desired URL.

Thanks


     Manoj
     Find me on LinkedIn

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hello @Sooin_Jeong ,

 

While designing the emails you can manually add the links to your CTA button or the sections where you want the link.

The Link should be something like this: http://www.test.com/test.html?a=b#section1

 

Adobe will automatically detect the presence of ? in the URL and will change the URL to something like this while adding the cid and bid.

http://www.test.com/test.html?a=b&cid=A00&bid=B00#section1

 

And this will be the desired URL.

Thanks


     Manoj
     Find me on LinkedIn

Avatar

Community Advisor

Hi,

 

This is by design. Two workarounds:

  • Change your js to read the real query string instead of the pseudo query string
  • Create a page or jssp that re-redirects, transforming query string params to pseudo-qs params, then link to that instead

 

Thanks,

-Jon