Start with the Plain Text Link and copy the code from the box.
<script src="//static.leadpages.net/leadboxes/current/embed.js" async defer></script> <a href="" data-leadbox-popup="1410f2073f72a2:1165b2d55f46dc">Click here to subscribe</a>
You'll need to include the script tag somewhere on your page. When creating the Leadbox link you can use any HTML element by adding the data-leadbox-popup
attribute from the generated code, if you need to use an href
on an <a>
tag you can convert the data-leadbox-popup
to an href
by adding //{{YOUR LP SUBDOMAIN}}.leadpages.co/leadboxes/{{DATA ATTRIBUTE VALUE}}
. For example data-leadbox-popup="1410f2073f72a2:1165b2d55f46dc"
becomes href="//nickdobie.leadpages.co/leadboxes/1410f2073f72a2:1165b2d55f46dc"
.
<script src="//static.leadpages.net/leadboxes/current/embed.js" async defer></script>
<!-- ... -->
<img src="promo.jpg" data-leadbox-popup="1410f2073f72a2:1165b2d55f46dc" />
<!-- or -->
<a class="my-custom-button" href="//nickdobie.leadpages.co/leadboxes/1410f2073f72a2:1165b2d55f46dc">Custom Button</a>