0

Can I embed HTML into a field for use as a merge field on Landing Pages for unique content per contact? [closed]

I want to display a unique youtube video for each of my contacts on a given page.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Frank
close date 2016-08-30 09:20:59.194137

1 answer

Sort by » oldest newest most voted
1

Yes, you can!

  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 Paste the Youtube embed code into the html layer
  8. 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

Example: <iframe width="560" height="315" src="http://www.youtube.com/embed/dtCUYUBOnzk" frameborder="0" allowfullscreen></iframe>

Becomes: <iframe width="560" height="315" src="http://www.youtube.com/embed/**[Your Merge Field Here]**" frameborder="0" allowfullscreen></iframe>

  1. Save the html layer List item
  2. 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
edit flag offensive delete publish link more

Question Tools

1 follower

Stats

Asked: 2015-08-27 09:49:45 -0800

Seen: 137 times

Last updated: Jul 21 '16