Installation

Install SourceTag on Webflow

Add SourceTag’s tracking script to your Webflow site via the custom code settings. No Webflow apps or integrations required.

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 Webflow

  1. In your Webflow project, go to Project Settings
  2. Click the Custom Code tab
  3. In the Head Code section, paste the script tag
  4. Click Save Changes

Step 3: Publish

Publish your Webflow site. The tracking script is now active on every page.

Step 4: Test

Visit your published site with UTM parameters:

https://yoursite.com/?utm_source=test&utm_medium=cpc&utm_campaign=webflow-test

Submit a Webflow form. Check the form notification in Webflow. The submission should include hidden fields with attribution data.

Notes

  • The script works with Webflow’s native forms. Hidden fields are added automatically. You don’t need to create them in the Webflow form builder.
  • If you’re using a third-party form tool embedded in Webflow (Typeform, HubSpot, etc.), the script will detect those too via MutationObserver.
  • Browser cookies are limited to 7 days on Webflow (no server-side cookie option available for Webflow sites currently).