How to Add Scripts

Video Tutorial:

Article:

Adding scripts gives your site extra functionality. You can add scripts at account, domain, funnel and page level. Adding scripts at one level will not affect the levels above it. For example, adding a script at page level will not affect that page's funnel or domain. Adding a script at domain level will affect all funnels and pages within that domain. Adding a script at your account level will affect all your funnels and pages on all of your domains.

NOTE: You MUST republish all pages after adding scripts for it to work.

To add scripts at page level:

  1. In the Page Builder, click on Page in the top toolbar, then click on Custom Scripts.
  2. Click the tabs to view scripts that are active on your page. NOTE: you can only add scripts at page level in this dialog.
  3. Click Add Page Script. Give your script a name (this is important: it allows your script to be targeted by Actions and Events). Add a description, choose whether you want the script to run on page load, and choose the script position. If you are unsure where to put it, choose Body.
  4. Paste the code of your script into the box, and click Save.
  5. Your script will be added, and a small red indicator will remind you that you need to republish your page(s) before you see the changes. You'll need to do this for every page your script affects.

To add scripts at funnel level:

  1. In the Dashboard, navigate to the funnel you want to add a script to and click Scripts in the left hand menu.
  2. Click Add a Funnel Script. Enter the script name, description, choose if you want it to run on page load, if you want to put the script in the body or the head of the pages within the funnel, and finally paste in your script.
  3. Click Save.

To add scripts at a domain level:

  1. In the Dashboard, click Account in the top right-hand corner, then click Domains in the left hand menu.
  2. Next to the domain you want to add a script to, click Edit Scripts.
  3. Click Add Domain Script. Enter the script name, description, choose if you want it to run on page load, if you want to put the script in the body or the head of the pages within all funnels on your domain, and finally paste in your script.
  4. Click Save.

To add scripts at an account level:

  1. In the Dashboard, click Account in the top right-hand corner, then click Scripts in the left hand menu.
  2. Click Add Account Script. Enter the script name, description, choose if you want it to run on page load, if you want to put the script in the body or the head of the pages within all funnels on all domains on your account, and finally paste in your script.
  3. Click Save.

REMINDER: When you add scripts they must be inside the script tags e.g. <script>[script here]</script>.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us