How do I add the snippet script code to my Leadpages website?

In this video, we’ll show you how to add your GetEmails snippet script code to your Leadpages site.

Where to find your GetEmails snippet script

1. From your GetEmails Dashboard, click Code Snippet. Then, click Add New Domain/Script.

2. Paste website in the text box, and click Next Step. (You don’t have to choose a website builder from the drop-down menu. That is there to show you a tutorial on how to add the script.)

3. Check the box next to Collection, and then click Copy Code </>. You’ll see a green box in the top right-hand corner telling you the code was copied to your clipboard. (Leave this open because you’ll come back to it after you’ve added your script.)

Copy Collection

Remember: You can’t check multiple boxes for scripts or you will get an error message. You can only copy one at a time.

How to add collection script

1. From your Leadpages dashboard, click the Edit icon next to the Landing Page/Website you want to add the script to.

2. Click Widgets in the left-hand navigation and drag the HTML box onto your page. (You may have to click Show More at the bottom if HTML isn’t listed.)

3. Click the HTML box you placed, and a window will pop up. Paste your GetEmails collection script into the box. Then, click Save.

4. You’ll then see a pop up that your custom HTML was saved. Be sure to Publish/Update your page when you’re finished.

5. From your GetEmails dashboard, click On next to Script Status to turn your script on.

How to verify your script is working

1. From inside Code Snippet > View Script (the page you were on before), click Does My Script Work > Text My Script.

2. You’ll see a box in the right-hand corner showing you which scripts on your site and which ones fired.

How to add the suppression script

The suppression script can be added to your website on any pages that you do NOT want GetEmails to collect email addresses. Generally speaking, you would put this script on landing pages where the person has already converted, and therefore, you have already collected their email address.

Examples of pages you’d want to add the suppression script to are post-checkout, thank you, and confirmation pages.

1. From your Leadpages dashboard, click the Edit icon next to the Landing Page/Website you want to add the script to.

2. Click Widgets in the left-hand navigation and drag the HTML box onto your page. (You may have to click Show More at the bottom if HTML isn’t listed.)

3. Click the HTML box you placed, and a window will pop up. Paste your GetEmails collection script into the box. Then, click Save.

4. You’ll then see a pop up that your custom HTML was saved. Be sure to Publish/Update your page when you’re finished.

5. From your GetEmails dashboard, click On next to Script Status to turn your script on.