Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Multiple Query Param in Adobe DTM in Appmeasurement.js

Avatar

Level 4

Hi,

Can't we use multiple query param in Adobe DTM to track campaign when we use appmeasurement.js. Is there any known issue?

I understand, that we need to use  s.Util.getQueryParam to track campaign.  But, it is not working.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

if you use DTM rules to fire Adobe Analytics, just write rules for each query parameter: eg. you have query parameter "cid1" and "cid2" fro campaigns, just write a rule (R1) to catch query parameter cid1 and another rule (R2) for cid2. So, if query parameter cid1 is present, then R1 will fire and set s.campaign, if cid2 is present, R2 will fire and set s.campaign.

Hope this helps.

Regards, Michael

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

Hi,

if you use DTM rules to fire Adobe Analytics, just write rules for each query parameter: eg. you have query parameter "cid1" and "cid2" fro campaigns, just write a rule (R1) to catch query parameter cid1 and another rule (R2) for cid2. So, if query parameter cid1 is present, then R1 will fire and set s.campaign, if cid2 is present, R2 will fire and set s.campaign.

Hope this helps.

Regards, Michael