Installation
Install SourceTag on Weebly
Add SourceTag’s tracking script to your Weebly site through the header code settings. No third-party apps 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 Weebly
- In the Weebly editor, go to Settings
- Click the SEO tab
- Paste the script tag into the Header Code field
- Click Save
Step 3: Publish
Publish your Weebly 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=weebly-test Submit a form on your site and check wherever your form submissions are received. The submission should include hidden fields with attribution data.
Notes
- The script works with Weebly’s built-in form elements. Hidden fields are added automatically.
- If you’re using embedded third-party forms (Typeform, HubSpot, etc.), the script will detect those too via MutationObserver.
- Weebly is now part of Square. If you’re managing your site through Square Online, the setup steps may differ slightly — look for the custom code or script injection option in the site settings.
- Browser cookies are limited to 7 days on Weebly (no server-side cookie option available for Weebly sites currently).