CommuniGator Resource CentreCreative - Email Editor how to...How to redirect a landing zone to another document or web page by using Javascript

How to redirect a landing zone to another document or web page by using Javascript

This Article will walk you through a step-by-step guide on how to redirect a landing zone to a document.

A good example of how to use this functionality would be setting up an LZ notification to inform you when someone has clicked on a particularly valuable link. 

Step 1)

Step 1)

Let's start by adding a New Landing zone.

Step 2)

Step 2)

Within the Landing Zone editor, click on the 'Insert Landing Zone' display script button, this appears on the right-hand side button list.

Step 3)

Step 3)

Enter the following Java Scriptcode in the update Landing Zone Javascript area:

<script language="javascript">

setTimeout(function() {

   window.location.href = "INSERT DOCUMENT URL"}, 1000);

</script>

Step 4)

Step 4)

Replace the 'Insert Document' link URL with the Document URL. If the document is hosted in CommuniGator (Which we recommend doing), you will need to send yourself a test first to receive the URL.

Once you have entered the document link click 'Save,' and then click 'Close.' This will then redirect to that document when the landing zone link is hit in the creative email.

0 Comments

Add your comment

E-Mail me when someone replies to this comment