Getting multiple query parameters in the s.util.getQueryparam
I want to be able to capture the multiple query parameters in s.campaign variable.
URL
www.example.com?cmpid=hhhh&source=ssss&medium=dddd
Code
If(!s.campaign) s.campaign=s.Util.getQueryParam('cmpid')
When I adjust the code to do the following:
If(!s.campaign)
s.campaign=s.Util.getQueryParam('cmpid')
s.campaign=s.Util.getQueryParam('source')
Result =ssss - only the source value from the URL.
How do I modify my code to capture s.campaign =hhhh:ssss:dddd