How Can I Add Custom Scripts onto my Smart Builder Page?

Follow

Pro Tip:

Measure the success of your Smart Builder page with Google Analytics or Facebook's Ads Manager seamlessly with Unbounce Apps! See Installing the Facebook Pixel in Smart Builder or Connecting Google Analytics in Smart Builder to learn more. 

To embed a custom tracking script onto your Smart Builder pages, such as Google Tag Manager (GTM), Google Ads, or an Unbounce popup or sticky bar, you will need to use Script Manager

Script Manager allows you to install & apply scripts globally across all pages connected to a specific domain, including your pages built with Smart Builder.

See our documentation for steps on adding a custom script with Script Manager. Or, follow these steps: 

  1. Log in to Unbounce, and from the left-hand side menu, click Settings.
  2. From the drop-down menu, select Script Manager.
  3. Click the blue Add a Script button on the top-right hand corner.
  4. From the pop-up, select a Custom Script from the drop-down menu, and give your script a name: how-to-add-a-custom-script-with-script-manager

  5. Two panels will appear within a new page; update the fields with the following values:
    • Within the Script Details tab, choose a Placement (depending on the script you're embedding, this can vary).
    • The Included value should be set to All.
  6. Paste your custom script within the dialog box.
  7. In the Script Usage tab, select which domain(s) you plan to connect to or have already connected to your Smart Builder page. Here's an example with the global site tag:
    example-custom-script-in-script-manager
    • The steps and script placements are the same for installing a popup or sticky bar! Simply install your embed code within Script Manager. 
  8. Click Save and Publish Script, and you'll be all set! 

Known Limitations

Currently, there isn't a way to trigger a script to fire on form submissions from Smart Builder pages. 

For example, if you need a script to fire upon form submissions, let's say, for conversion tracking or an event snippet, Smart Builder functionality does not yet support this. 

We understand that this option of adding a script via Script Manager might not fit your tracking needs, but our teams are working on iterating and improving Smart Builder over the next while.

Related Articles

Connecting Google Analytics in Smart Builder

Installing the Facebook Pixel in Smart Builder


Do you agree or disagree with this statement: This article helped me find the information I needed quickly and easily.

Select an option and leave us some feedback in the comments:

Strongly DisagreeDisagreeSomewhat DisagreeUndecidedSomewhat AgreeAgreeStrongly Agree

Measuring Customer Effort Score with Nicereply