Drupal
Lead attribution for Drupal
See which channels, campaigns, and keywords drive form submissions on your Drupal site.
Drupal
Script installed
SourceTag
Captures attribution
Your forms
Hidden fields sent
Your tools
Data arrives tagged
Drupal
Script installed
SourceTag
Captures attribution
Your forms
Hidden fields sent
Your tools
Data arrives tagged
The problem
Someone fills out a form on your Drupal site. You know they did it, but not why. Was it your Google Ads? An organic search? A referral? Drupal doesn't track this, so you're left guessing which marketing is working.
How to set it up
Install SourceTag on your Drupal site via your theme template or a module like Asset Injector. It tracks how visitors arrive, stores attribution data in a cookie, and writes it into hidden form fields when someone submits. The data flows wherever your form sends it.
Copy your script tag
From the SourceTag dashboard, copy the one-line script tag for your site.
Add to Drupal
In Drupal, go to your theme template or a module like Asset Injector and paste the script tag.
Add hidden fields to your forms
Add hidden fields to your forms for the SourceTag data. See your form builder's setup guide.
Test
Visit your site with UTM parameters and submit a form to verify.
Compatible form builders
These form builders all work with SourceTag on your Drupal site. Add hidden fields to any of them and attribution data gets captured on every submission.
Frequently asked questions
Copy the script tag from your SourceTag dashboard and paste it into your Drupal site header. If you're on WordPress, there's a plugin. Takes about two minutes.
Any form builder that supports hidden fields. Check our integrations page for form builders compatible with Drupal.
No. The script loads asynchronously and is under 5KB. It won't affect your page speed.
Install SourceTag once and it fills in hidden fields on every form across your site, regardless of which form builder you use.
Related integrations
Done-for-you attribution. Set up in 5 minutes.
14-day free trial. No credit card required. Every lead tagged with the source that created it.




