Installation

Install SourceTag on Unbounce

Add SourceTag’s tracking script to your Unbounce landing pages using the script manager. This lets you track which campaigns, sources, and keywords drive your landing page conversions.

Step 1: Copy your script tag

In your SourceTag dashboard, go to your site’s detail page and copy the script tag. It looks like:

<script src="https://cdn.sourcetag.io/scripts/YOUR_SITE_ID/st.js" async></script>

Step 2: Add to Unbounce

For a single page

  1. Open your landing page in the Unbounce builder
  2. Click JavaScripts in the bottom left
  3. Click Add New JavaScript
  4. Set the placement to Head
  5. Paste the script tag into the code area
  6. Click Done

For all pages in a domain

  1. Go to your Unbounce domain settings
  2. Open the Script Manager
  3. Add a new script
  4. Paste the script tag and set it to load in the Head on all pages
  5. Save

The domain-level approach means any new landing pages you create will automatically include SourceTag.

Step 3: Publish

Publish (or republish) your landing page. The tracking script is now active.

Step 4: Test

Visit your landing page with UTM parameters:

https://yourlp.unbounce.com/?utm_source=test&utm_medium=cpc&utm_campaign=unbounce-test

Submit the form on your landing page and check wherever your submissions are received (Unbounce leads, webhook, integration). The submission should include hidden fields with attribution data.

Notes

  • The script works with Unbounce’s built-in form builder. Hidden fields are added automatically to Unbounce forms.
  • Unbounce pages are typically single-page landing pages, so the script captures attribution data and attaches it to the form on the same page.
  • If you’re using Unbounce with a CRM integration (HubSpot, Salesforce, etc.), the attribution hidden fields will be passed through as part of the form submission.
  • Browser cookies are limited to 7 days on Unbounce (no server-side cookie option available for Unbounce pages currently).