Introduction
This document will take you through how to add a video to a White paper Thank you page.
There are three components to this:
- Adding your Whitepaper
- Updating the White paper download field
- Adding the code snippet to the Thanks HTML
1. Adding your White paper
Adding your White paper can be done within the campaign or within the main White Papers section:
1. Select System, then select White Papers from the dropdown list.
2. Click Assets then Add White Paper.
3. Populate the Whitepaper details as normal, including the below:
- Select Use Advertiser Logo
- Whitepaper Thumbnail - Print screen the title screen of the video to be added to the Whitepaper
- Whitepaper Download - Use the print Screen from the Whitepaper Thumbnail and convert this to a PDF.
2. Updating White paper download field
1. Within your campaign, go to Creatives then select Forms. Select Edit next to your form.
2. Locate the WP Download field and select Edit Options.
3. Within the bottom field 'trigger_download', change the 1 to a 0.
This will stop the white paper from downloading automatically.
3. Adding the code snippet to the Thanks HTML
1. Whilst you are still within your form, go to the top of the page and select the tab 'Thanks HTML'
2. At the bottom of the page, from row 42 onwards add the following snippet from <script> and replace ENTER YOUR URL HERE with your URL.
---------------
<script>
function redirectToWebinar() {
var id = ##whitepaperId##;
var url = ' ENTER YOUR URL HERE ';
window.top.location.href = url;
}
</script>
<div class="thanks-container">
<button class ="btn" onclick="redirectToWebinar();">Click to View</button>
Thank you for your interest, we hope to see you again soon.
</div>
---------------
3. Select Save.