Comment on page
Pop-up
Example
<la-dn-popup token="ABCD" position="centered">
<la-dn-popup-step index="1" enabled="true">
<la-dn-popup-image position="top" url="/image1.png"></la-dn-popup-image>
<la-dn-popup-header>
<la-dn-popup-header-title>
15% off. Today only!
</la-dn-popup-header-title>
<la-dn-popup-header-subtitle hide="true" image-url="/logo.png">
</la-dn-popup-header-subtitle>
</la-dn-popup-header>
<la-dn-popup-message>
Enter your email to get 15% off your order.
Offer available today only.
</la-dn-popup-message>
<la-dn-popup-form layout="vertical">
<la-dn-popup-form-field type="fname" placeholder="First name"></la-dn-popup-form-field>
<la-dn-popup-form-field type="email" placeholder="Email"></la-dn-popup-form-field>
<la-dn-popup-form-field type="phone" placeholder="Phone"></la-dn-popup-form-field>
<la-dn-popup-form-terms checked="false">
I understand & agree with the <a href="/pages/terms">Terms & conditions</a>
</la-dn-popup-form-terms>
<la-dn-popup-form-button action="generate-code" template="button">
Get code
</la-dn-popup-form-button>
<la-dn-popup-form-button action="close" template="link">
I prefer paying full price
</la-dn-popup-form-button>
</la-dn-popup-form>
</la-dn-popup-step>
<la-dn-popup-step index="2" enabled="true">
<la-dn-popup-message>
Redeem your code now to get 15% off!
Offer available today only.
</la-dn-popup-message>
<la-dn-popup-promotion-code state="loading"0>
ABCD-EFGH-JKLM
</la-dn-popup-promotion-code>
<la-dn-popup-form layout="vertical">
<la-dn-popup-form-button type="apply-code" template="button">
Redeem now!
</la-dn-popup-form-button>
</la-dn-popup-form>
</la-dn-popup-step>
</la-dn-popup>
Render event -> Message:
-
Event for generating code and generated code
Last modified 2mo ago