Capture UTM Parameters on Weebly and Pass Them to Your CRM
Knowing which campaigns create leads and customers helps you invest more in what works. On a Weebly site, that requires more than adding tags to ads: the attribution data must survive navigation, be written into your lead form, and arrive in your CRM alongside the contact details a visitor submits.
Decision checklist
Use this checklist before you build the form:
- Add consistent UTM parameters to every paid ad and bespoke campaign you run.
- Create hidden fields on each lead form so visitors do not see attribution fields.
- Confirm the attribution tool can store the first-visit data in a cookie and populate those fields on any later page.
- Test a submission end to end and check that channel, drilldown and landing-page values appear in the CRM record.
1. Tag every campaign you want to measure
Start with the campaigns themselves. Add UTM parameters wherever paid advertising runs, including social platforms such as Facebook, LinkedIn, Instagram and Twitter, and search platforms such as Google and Bing. Do not overlook one-off activity such as newsletter placements or podcast sponsorships, because those visits also need a recognisable source when they convert.
2. Add hidden fields to your Weebly forms
Next, prepare the forms that collect leads, such as a contact or quote-request form. In the Weebly form builder, add a new field, open its settings and tick the option that hides it. Hidden fields remain part of the form but are not visible to visitors, so attribution data can be inserted without changing the experience for the person completing it. Add these hidden fields:
- Channel
- Channel Drilldown 1
- Channel Drilldown 2
- Channel Drilldown 3
- Landing Page
- Landing Page Group
3. Let the tool complete the hidden fields
Once the fields exist, the attribution tool reads incoming UTM parameters and other visitor signals, categorises the visit, and stores the result in a cookie. When the visitor later reaches a form, the tool uses the stored data to complete the hidden fields. A worked example helps show the expected output. A visitor clicks a paid search ad for sharing large files and submits a form. Depending on the tags used, the hidden fields could be completed as follows:
- Channel = Paid Search
- Channel Drilldown 1 = Google
- Channel Drilldown 2 = Share Files Campaign
- Channel Drilldown 3 = Free Account Ad
- Landing Page = www.dropbox.com/features/share
- Landing Page Group = Features
The first four values explain how the visitor arrived and which campaign they came from. The landing-page values show the exact entry page and the broader section of the site it belongs to.
4. Send the completed record to your CRM
On submission, the values in the hidden fields travel with the name, email, phone number and other details the lead entered. That combined record can then be sent to a CRM or another business tool, where it supports questions such as how many leads a social campaign produced, how many customers a search campaign produced, and how much revenue organic search generated.
Why categorised attribution beats raw UTM capture alone
Capturing only raw UTM parameters leaves several gaps. A categorised attribution approach addresses them in four ways. First, it covers all traffic, not only tagged paid visits. Organic search, organic social, direct and referral visits can also be categorised, so CRM reports show the source of every lead rather than only paid-campaign leads. Second, it remembers the data across pages. Raw URL-based capture fails when a visitor lands on a campaign page, clicks through to a demo or contact page, and submits there, because the parameters are no longer in the address. Cookie storage keeps the attribution available for the later form. Third, it produces cleaner reporting. Variations such as Facebook, facebook and fb can otherwise appear as separate sources. Assigning the visit to a standard channel such as Paid Social consolidates those variants. Fourth, it captures landing-page data. Recording both the individual page and its group lets you compare a single blog post with the blog as a whole, or compare other content sections by the leads, customers and revenue they generate.
Frequently asked questions
Why can raw UTM capture miss attribution when a visitor moves between pages?
No. Raw UTM capture only works when parameters are still in the URL. If a visitor lands on a campaign page and later submits a form on another page, the parameters may be missing. Storing attribution data in a browser cookie preserves it across pages until form submission.
Does this only cover paid campaigns with UTM parameters?
Yes, in the workflow described here. The tool also uses referrer and other technical visitor information to categorise visits without UTM parameters, such as organic search, organic social, direct and referral traffic.
How does channel categorisation handle inconsistent UTM tagging?
Inconsistent tagging can split one source into several report rows, for example Facebook, facebook and fb. Categorising the visit into a standard channel such as Paid Social helps consolidate those variations for reporting.