Adding Custom Scripts (JavaScript)
Before you get started make sure you have registered with Happierleads and that you see the installation script page. Choose the installation method ‘other’
Then navigate to your landing page in the Classic Builder.
Click the Javascript button on the bottom left-hand corner of the Classic Builder:
An empty dialog box will appear; this is where you can paste or type in your custom JavaScript:
Name your script using the Script Name field.
You’ll want to choose the Placement of the script; this will depend on the script’s functionality or any instructions provided by the third-party app you’re copying this script from, as the placement may differ. Here are the different placement options in the Classic Builder:
Before Body End Tag: This installs the script before the end of the body tag (</body>) in your page HTML.
After Body Tag: This installs the script after the start of the body tag (<body>) in your page HTML.
Head: This installs the script within the Head (<head>) section of your page HTML.
Paste in the Happierleads JavaScript.
Click Done at the bottom right-hand corner of the dialog box to save the script.
Be sure to Save and Publish/Republish your page to finalize these changes.