While working on your landing pages, you might need to make changes as you create your sites. Some of the changes that can be made are:
Change dynamic content in a landing page
You can change the dynamic content on a live landing page if updates were made to any of the rulesets.
To change dynamic content in a live landing page, complete the following steps.
- Delete, update, and or change existing rulesets.
- Republish the landing page to update the live site.
Change the contact source of a published landing page
A contact source of a published landing page cannot be changed. However, the contact source can be changed on a copy of a landing page.
- Open the landing page that you want to change the contact source on.
- Click Save as and save the copy to your Shared or Private tab by clicking Save To.
- Expand the Optional Site Settings drop-down.
- Click Browse.
- Select the contact source, click Select. The new contact source now shows on the screen.
- Give the site a new URL and click Save.
- Click Publish.
- Click Publish Site.
Change the language of the landing page error messages
To change the language or verbiage of the web form error messages, take these steps.
Note: Only one custom label can be set per Landing Page Site. To use other labels, for example, French, Italian, German, separate landing pages need to be created.
- Go to Landing Pages/Web Forms Custom Labels & Messages found under Organization Settings.
- Click Download default template and download a CSV file that you can edit.
- Edit the file. You see two fields: Key and Value. Edit the Value Change the language or the verbiage as wanted, then Save by using a unique file name.
- Go back to Landing Pages/Web Forms Custom Labels & Messages. Click Add. Name the file, browse, and upload it. Click Save.
- Go to your landing page, click Site Settings, then Optional Site Settings. In Web Forms Custom Labels & Messages, select the custom label that you created. Click Save.
- Republish the landing page to see the changes.
Change the default page in the Acoustic Campaign landing pages
- Go to your landing page.
- Click the Manage Site tab.
- In the left pane area, right-click the name of the page to make the default.
- Click Set as Default.
Change cookie session times
The site visit cookie value com.silverpop.iMA.page_visit and the 'Page View' cookie, com.silverpop.iMA.session, are set to expire after 20 minutes. These values cannot be modified.
Add a YouTube, Hulu, or Vimeo video to a landing page
To embed a YouTube, Hulu, Vimeo, or other embeddable videos into a landing page, form page, or confirmation page, take these steps.
- Go to your video's main page.
- Find and click Share and then Embed.
- Copy the iFrame code that appears.
- Go to the Manage Site tab in your landing page.
- Click the "Insert Embed Video" icon.
- Copy the embed code into the field labeled "Paste Embed Code Here".
- Click Insert.
- Click Preview to test the video.
Use an image as a submit button for a landing page
In Acoustic Campaign, take these steps to use a custom image as a submit button instead of the default image that Acoustic Campaign provides. A submit button cannot be mapped to a specific email address within a web form. However, an alert can be set up by creating a Submits Web form alert in the Scoring area of Acoustic Campaign.
- Go to Landing Pages.
- Click the name of your Landing Page.
- Click the Manage Site
- Click Edit Form to open the form editor.
- Select the Submit button to open the Object Properties.
- In Submit, select Image.
- Click the image icon and upload the image from your desktop or from the Asset Library.
- Click Ok. The default submit button is replaced with your button graphic.
Host and use JavaScript in a landing page site
In order to be able to host and use Javascript on a Landing Page site, take these steps.
- Add the script code to the page source within the Manage Site For example, <script type="text/javascript" src="//filename.js">
- Click the Content Hosting tab, the Javascript content is listed under Available Content.
- Click Locate File and upload the appropriate file from your hard drive.
Spaces encoded to '%20' in JavaScript
If you add JavaScript code into Landing Page source view, some spaces in the JavaScript code are encoded '%20' by landing page system and some others are not. The converted '%20' are breaking the Javascript code.
Those spaces that are encoded to '%20' because they are included in double quotes within another pair of single quotes in the JavaScript code. For example: document.write('<scr'+'ipt src='HTTP:/' + '/serving.com'></scr' + 'ipt>'); are changed to: document.write('<scr'+'ipt src='HTTP:/'%20+%20'/serving.com'></scr' + 'ipt>');
To fix this, add an extra back-slash symbol right before each of the double quotes so that the double quotes can be escaped, and then the landing page does not encode the spaces. Re-save and publish the landing page.
Here is an example of the correct code to fix the problem: document.write('<scr'+'ipt src=\'HTTP:/' + '/serving.com\'></scr' + 'ipt>');