7 followers Follow

HTML Block in ONTRApages

Permanently deleted user

On behalf of Matthew Kellam:

The ability to add your own HTML blocks in ONTRApages would be so great!


Please to leave a comment.



Yes, it's a MUST... plus the ability to tweak html of each block, or maybe even add css styles in page header.

Steve Rosenbaum 0 votes
Comment actions Permalink

At this time, we are not planning to add a raw HTML block to ONTRApages. The Header and Footer code sections can be used for tracking scripts and the like. 

ONTRApages are intended to be an easy, mobile friendly landing page creator. Blocks that are developed go through a rigorous testing process to make sure they remain mobile responsive and don't present any security vulnerabilities. At the current time, we feel adding a raw HTML block is not in tune with that design criteria.

Frank Hagan 0 votes
Comment actions Permalink

Well.. no wonder i couldnt get this working...
I have trying to follow these instructions below, but couldnt find how to add the HTML layer

Q: Can I embed merge fields into an html layer on Landing Pages for unique content per contact?

A: Yes you can.

Use case: Embed a unique clickable YouTube video into each contact's PURL

One of our clients wished to make it so that each of his contacts could visit the same Landing Page as a PURL and would each see a YouTube video that was unique to them. We discovered that it was possible to do this by going through the following steps.

  1. Create a Custom Field in the contact record for the unique YouTube URL

  2. Upload a video to YouTube

  3. Click the Share button underneath the video

  4. Click the Embed button

  5. Copy the YouTube embed code to the clipboard

  6. Create a new Landing Page in ONTRAPORT

  7. Add an Html layer

  8. Paste the Youtube embed code into the html layer

  9. Replace the last part of the YouTube URL (the YouTube video ID) within the embed code with the merge field for the unique YouTube URL from step 1

    1. Example: <iframe width="560" height="315" src="" frameborder="0" allowfullscreen></iframe>

    2. Becomes: <iframe width="560" height="315" src="[Your Merge Field Here]" frameborder="0" allowfullscreen></iframe>

  10. Save the html layer

  11. Manually add the YouTube video ID, the stuff after the ‘/embed/’ part, to the Custom Field in the Contact Record of the contact you wish to view that particular video when they access the PURL

Sam Foss 0 votes
Comment actions Permalink

Hi Sam - sorry for the confusion! We need to go back and edit all the prior articles to refer to "Legacy Landing Pages" instead of just "Landing Pages". Prior to the advent of ONTRApages, we had only "Landing Pages", and the Landing Pages do indeed have an HTML layer. They are now known as "Legacy Landing Pages" inside  of ONTRAPORT and do provide all the flexibility of writing straight HTML code. 

Frank Hagan 0 votes
Comment actions Permalink