Skip to content

Instantly share code, notes, and snippets.

@joshorvis
Forked from jramsahai/embedded_form_in_CTA.html
Last active August 29, 2015 14:11
Show Gist options
  • Save joshorvis/6594eec4354d98e2abf4 to your computer and use it in GitHub Desktop.
Save joshorvis/6594eec4354d98e2abf4 to your computer and use it in GitHub Desktop.
<html>
<head>
</head>
<body>
<!-- By default, the pop-out CTA is 300px wide. You might want to set the div width and height to allow for a border -->
<div style="width:260px; height:250px;">
<!-- Sample HTML form. Can be replaced with a form from your favourite MAP (e.g. Hubspot, Silver Pop, etc.) -->
<form>
<table>
<tr>
<td>Full name: </td>
<td><input type="text" name="fullname"></td>
</tr>
<tr>
<td>Email: </td>
<td><input type="text" name="emailaddress"></td>
</tr>
<tr><td>How did you hear about us?</td></tr>
<tr><td><input type="radio" name="referer" value="tv">TV Ad</td></tr>
<tr><td><input type="radio" name="referer" value="radio">Radio Ad</td></tr>
<tr><td><input type="radio" name="referer" value="socialmedia">Social Media</td></tr>
<tr><td><input type="submit" value="Submit"></td></tr>
</table>
</form>
</div>
</body>
</html>
<!-- Place this code into the CTA editor in the Vidyard dashboard. Don't forget to update the URL to the form -->
<p><iframe src="http://url.to/embedded_form.html" width="280px" height="270px"></iframe></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment