Step 1: A bit of code
In the Installation step of the Campaign Wizard, you will find your campaign Javascript snippet:
While editing your page in Squarespace, from the left sidebar go to Settings → Advanced (under Website) → Code Injection. Copy-paste the campaign snippet in it, in the Footer section.
Step 2: The popup trigger
You need a button in your page to trigger the popup to open so that your visitors can join the campaign.
While editing a section in your page in Squarespace, drag and drop a Code block inside the section, where you want your button to be placed.
Add the following code inside it and click Apply :
<div data-vl-widget="popupTrigger"></div>
You can customize the look and feel of the trigger button on the Joining step of this wizard.
Step 3: Ready to launch!
Congrats, you're ready to go! Now just take your page live and it's ready to start receiving visitors who will click the trigger button and join the campaign you just created!
Did this article help you? Let us know!