Follow us on Twitter

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 or expired, the site will be blocked from view. The token expires after 30 minutes, so even if someone steals the campaign URL, it will only allow them to view the landing page for 30 minutes.

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, go to Advanced.
  2. Go to the Lander Protection Script tab.
  3. 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.

  • PHP version: Paste the copied script into the <body> of your lander element.
  • JavaScript version: Paste the copied script into the <head> of your lander element.

Track & optimize
your campaigns with ease!