Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Multiple Query Param in Adobe DTM in Appmeasurement.js

m_1985
Level 4
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
Michael_Schuber
Correct answer by
Level 3
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
Michael_Schuber
Correct answer by
Level 3
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