Skip to main content

Lander Protection Script

In a typical scenario, your landing page is available for anyone that has a link to it. This means that it can be viewed by visitors that didn't go through a campaign URL and may have other intent than taking your offer. Additionally, various spying tools can also access your page and potentially copy its content. To protect your most successful landing pages, Voluum offers you the Lander Protection Script feature that can block access to your landing page from visitors or programs that didn't come through a campaign URL. They will just see a blank page instead.


Voluum Note: Because the way the Lander Protection Script works, it can be used only with the redirect method of tracking with 'Landers & Offers' funnel types. It won't work with 'Offers only' campaigns.

How Does It Work?

The Lander protection script checks for the lptoken token that is added to the campaign URL and passed to the lander element. If this token is not present, the site will be blocked from view.

Versions of the Lander Protection Script

There are two versions of the Lander Protection Script:

  • JavaScript: This version of the Lander Protection Script works on most lander elements. It provides basic protection from people going directly to this page. It does not, however, provide protection from automatic scanning tools, such as Adplexity. The lander element can still be previewed in such tools, but, as direct access is blocked, it is harder to copy.

  • PHP: This is the recommended version of the Lander Protection Script. It blocks all access to the lander element, including access from automatic scanning tools, such as Adplexity. The drawback is that it only works on PHP websites

Configuring a Lander Protection Script

Once you have a PHP lander element prepared, perform the following steps:

I. Get the lander protection script:

  1. In Voluum, click the profile_settings.png button to go to Settings.

  2. Go to the Tracking URLs tab.

  3. In the Lander Protection Script section, select the appropriate version of the Lander Protection script.

  4. Click the Copy button to copy the script to the clipboard.


II. Paste the Lander Protection Script to your landing page

You now have a Lander Protection Script ready. Paste the copied script into the body of your lander element.