I have an interstitial page which has 6 identical links that depends on referralTokenValue to send traffic to a different site.
The link uses the following link structure:
I’ve got a running prototype at: JSFiddle
However, I can’t use this prototype because it depends on the link ID attribute, which would not work 6 identical link IDs.
var referralTokenValue = 123456789;
I wanted to add the referraltokenValue to the href link tag, like so:
The expected result would yield the following embedded link:
How can add the referralTokenValue to the link without the dependency on the ID attribute?