Hello,
I’ve created a component (a button) with some parameters. One of these parameters is an input field for an ID and the URL on that button uses this ID to create the link:
https://app.adjust.com/{{dc:param:adjustID}}
Now I also have a little javascript, that checks, if there are some URL parameters at the current document e.g. domain/page?gclid=xxxxx and stores that string including the “?” in a variable named “qS”. At the console it looks all fine but the question is, how do I add the value of the variable to my https://app.adjust.com/{{dc:param:adjustID}}
?
I assume that https://app.adjust.com/{{dc:param:adjustID}}{{dc:query:query_var key="sQ"}}
is the wrong way, because it didn’t work
I also tried to add {{dc:url:param key="gclid"}}
, but then I only get what’s after the “=”, so when calling the page with “?gclid=xxxxx” I just get the “xxxxx” but I need the whole string after the “?”, which I stored already using the little javascript, which also checks if there is a “?” and if it contains “gclid” or something else and depending on that adds another string to the variable or leaves it as it is.
Any hint?
best regards
Mirco