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
- Open your landing page in the Unbounce builder
- Click JavaScripts in the bottom left
- Click Add New JavaScript
- Set the placement to Head
- Paste the script tag into the code area
- Click Done
For all pages in a domain
- Go to your Unbounce domain settings
- Open the Script Manager
- Add a new script
- Paste the script tag and set it to load in the Head on all pages
- 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).