Home > Technical & Creative Skills > Tracking Campaigns

Dynamically Generate Link From URL Parameters (1)


09-02-2015 10:37 PM #1 esel3000 (Member)
Dynamically Generate Link From URL Parameters

Here's the thing:

1) Display traffic arrives to my landingpage with a few parameters in it, for example:
example.com?ACID=123

2) On that landingpage, I have a link to the offer page, which has google analytics tracking parameters in it, such as here:
offer.com/?utm_source=x&utm_medium=y&utm_content=z

3) I would like to dynamically add the parameters from 1) into the link on page 2), so in this example the new link would look like this:

offer.com/?utm_source=x&utm_medium=y&utm_content=123

Since the offer page is owned by me, I just need the parameters from the traffic source passed on to my google analytics account.

I'm sure there are 1million scripts for that, but I couldn't anything yet.


Home > Technical & Creative Skills > Tracking Campaigns