HomeAdobe Analytics

How to Capture multiple query parameters in the s.util.getQueryparam

Like Tweet Pin it Share Share Email

Requirement : Want to capture the multiple query parameters in s.campaign variable of Adobe Analytics.


Use the following code:

s.campaign = s.Util.getQueryParam(‘cmpid’)+”:”+s.Util.getQueryParam(‘source’)+”:”+s.Util.getQueryParam (‘medium’);

Result: s.campaign =hhhh:ssss:dddd

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.