Using landers within DSP funnel

In Voluum, landing page clicks are measured by placing a Voluum ClickURL in the CTA link(s)/button(s) contained within the landing page. By implementing a Voluum ClickURL, landing pages usually do not require any additional scripting for tracking clicks or offer redirections. This is mainly because the ClickURL is dependent on referer and cookie data generated and stored following a campaign visit. However, the tracking will stay active as long as the domain used for CampaignURL is same as the one used in ClickURLs (placed into the body section of a landing page’s HTML) and tracking pixel in the same campaign funnel (the postback can be fired with the default domain or any custom one).

Note:
In comparison to your tracker campaign URLs, the DSP campaign URLs will always have a different domain, assigned to the DSP campaigns only. So if you want to use your landing pages both in DSP and tracker's campaigns you need to keep that in mind. 

Still, you don't need to create multiple duplicate landing pages to use it in the DSP and other tracker campaigns with different domains. You can use a script that will adjust your ClickURL on the lander, to match the domain of the campaign URL.

To do so, you have to add Voluum token {trackingdomain} to the landerURL in the ‘trackingdomain’ parameter which will pass the domain used in the campaignURL to the landing page. Then you can use JavaScript to get it from the URL, and use to "build" the ClickURL.

I.e if you pass {trackingdomain} to ‘trackingdomain’ parameter, then in the Voluum lander configuration window, your landerURL should look like: http://lander.com?trackingdomain={trackingdomain}



Then to make it all work, you can place a below script in the head of your lander code: 

 <script src="jquery.js"></script>
 <script>
    function getURLParameter(name) {
        return decodeURI(
            (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] || ''
        );
    }
    </script>

Next, in every single click URL placed on the lander, you need to inject a tracking domain value, by using the <script> from the body section below:

<body>
            <script>
                document.write('<a class="btn btn-lg btn-success" href="http://' + getURLParameter('trackingdomain') + '/click">Click Here</a>')
            </script>
    
</body>


An exemplary campaign URL which is using the above script can be found here




   Contact us






Feedback and Knowledge Base