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

In this video, we’ll walk you through how to find your Retention.com snippet script and add it to your Weebly site.

Where to find your Retention.com snippet script

1. From your Retention Dashboard, click Code Script.  Then, click View Your Script.

2. 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.

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.

3. Once you’ve added the script to your domain, go back to Code Script and click the edit icon next to Authorized Domains.

4. Paste the domain/URL in the text box where you added the script, and click Save Changes.

It will be highlighted in green if the script is properly installed—and in orange if the script is not properly added.

How to add collection snippet script

1. Log in to your Weebly account.

2. Click Edit Site.

Edit site

3. Click Settings.

Settings

4. Click SEO.

SEO

5. Paste the HTML code copied from Retention.com into the Footer Code or Header Code box. Click Save.

Boxes

6. From your Retention.com dashboard, click On next to Script Status to turn your script on.

How to add suppression snippet script

The suppression script can be added to your website on any pages that you do NOT want Retention.com 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 Retention.com Dashboard, click Code Snippet in the left navigation and then View Script. Then, check the box next to Suppression, and click Copy Code.

2. From your Weebly editor, click Pages at the top, and then choose the page you want to add the suppression script to (ex. Thank You page).

3. Click SEO Settings.

4. Paste your Retention.com suppression script into the Header Code box. Click Publish in the top right when you’re finished.

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

How to test your script to confirm it’s working

Click here to learn how to test your script.