Marketing Source Tracking is a WordPress plugin that records where a visit came from, attaches it to the form submission and passes the data to ASARI CRM, ClickMeeting or User.com. It was built by BeeClear, a developer of WordPress plugins and smartphone apps. This article covers leads from third-party widgets, which often have no real form or load late. Version 1.19.0 captures them on a button click, checks the data and adds the campaign details, as for any other form.
Table of contents
- Why do widget leads never reach your CRM?
- How does the plugin capture a widget with no form element?
- How do required fields filter out failed attempts?
- What about forms that appear after the page loads?
- What is the @text suffix in a field selector for?
- Why does a cached page no longer block the submission?
- How does this work with a real callback widget?
- What does Marketing Source Tracking add to every widget lead?
- How do you set up and test a widget mapping?
Why do widget leads never reach your CRM?
Widget leads never reach your CRM because the third-party service collects the data on its own side. The box looks like a form, but the page code often has no form element. Other tools load late – after cookie consent or with a deliberate delay. Standard form capture looks for forms when the page loads and finds nothing. These are the typical cases:
- a callback box sends the phone number with a button, without a form,
- a sign-up pop-up is created only after the page has loaded,
- a consent tool injects the form once cookies are accepted,
- a calculator collects contact details in plain fields and sends them with its own button.
Each time, the lead sits only in the service’s own dashboard, with no campaign or referring site. No contact appears in the CRM, and marketing cannot tell which ad made the phone ring. Version 1.19.0 closes that gap with changes to custom form mappings.
How does the plugin capture a widget with no form element?
The plugin captures a widget with no form element on a button click instead of a form submit. In a mapping on the “Custom Forms” tab, set “Send on” to “Button click (widgets without a form)”. The “Form CSS selector” then points at the container that holds the fields and the button. In “Button CSS selector”, enter the selector of the send button itself. Leave it empty and any submit button inside the container will do.
Marketing Source Tracking reads the field values at the moment of the click. Your CRM receives exactly what the visitor typed before sending. The plugin listens for clicks across the whole page, so the button does not have to exist when the page loads. Mapping rows point to fields by selector, and fixed values use the “Static” type. From there, the data follows the same path as data from any other form: field mapping, visit details and background sending.
How do required fields filter out failed attempts?
Required fields filter out failed attempts while the visitor is still in the browser. In “Required fields” you enter field selectors, one per line, up to 20. Each of those fields must have a value and must not be marked as invalid. The plugin treats a field as invalid when it carries data-invalid or aria-invalid, or when browser validation rejects it. If any check fails, nothing goes out to your integrations.
In click mode, the check runs half a second after the button is pressed. Widgets often flag a wrong number only after the send attempt, so an instant check would miss it. The short pause lets the plugin see the widget’s own verdict. A mistyped number therefore never creates a CRM contact nobody can call back. Required fields work in the regular form submit mode as well.
What about forms that appear after the page loads?
Since version 1.19.0, forms that appear after the page loads are captured in the regular “Form submit” mode too. That covers forms added by consent tools, delayed scripts and pop-ups. Previously, a mapping only reached forms that were present when the page first loaded. Now the plugin listens for submissions across the whole document and checks whether the form sits inside the mapped container. A sign-up pop-up can open late and the submission still carries its campaign data.
A mapping still applies only on pages that match its “Page URL rules”. The server re-checks them for every submission, so a form injected elsewhere will not reach the CRM by accident.
What is the @text suffix in a field selector for?
The @text suffix in a field selector sends the visible label to the CRM instead of the hidden value. It helps with drop-down lists whose values only make sense to software. A typical case is a list of callback slots where every date is stored as a timestamp. Without the suffix, your sales rep would see a string of digits on the contact card. With it – for example #day select@text – the CRM gets the date exactly as the widget shows it.
Why does a cached page no longer block the submission?
A cached page no longer blocks the submission because the script now refreshes an expired security token on its own. Every custom form submission carries a nonce, a WordPress security token with a limited lifetime. A page cached for longer than that lifetime used to send an outdated token. The server then rejected the submission with a 403 error, and the lead never reached the CRM.
From version 1.19.0, the server answers with a dedicated “expired token” response instead of an error. The script recognises it, fetches a fresh nonce and retries the submission once. The visitor notices nothing, and a lead from a heavily cached landing page joins the queue like any other.
How does this work with a real callback widget?
CallPage is a service whose callback widget lets website visitors ask a company to phone them back. This real callback widget brings several 1.19.0 features together. It has no form element and sends data with one of three buttons: “call me now”, “call me later” or “leave a message”. It flags the phone number as invalid only after the click and stores the callback time as a timestamp. Here is how Marketing Source Tracking handles each of these traits:
| Widget trait | Mapping setting | Result in the CRM |
|---|---|---|
| three buttons instead of a form | three mappings with “Button click”, each with its own button selector | each variant arrives separately, with the right first-contact type |
| number flagged as invalid after the click | phone field listed in “Required fields” | a wrong number creates no contact |
| callback time stored as a timestamp | list selector with the @text suffix | the sales rep sees a readable date |
| widget loaded after the page opens | click listener across the whole document | the lead arrives whenever the widget appears |
Each mapping sends the visit source and the first-contact type to the CRM. The contact card shows the campaign behind the request. Your sales rep also sees whether the client wants a call now, later or left a message.
What does Marketing Source Tracking add to every widget lead?
Marketing Source Tracking adds the same data to every widget lead as it does to a Contact Form 7 submission. The plugin attaches the visit details stored with the visitor’s consent: UTM parameters and the referring site. Your mapping decides which fields go to ASARI CRM, User.com or ClickMeeting. When the person already exists in ASARI CRM, the plugin can update that contact and leave a control note. The note also lists ad click IDs such as gclid. The retry queue and consent-based tracking each have an article of their own.
How do you set up and test a widget mapping?
You set up and test a widget mapping in a few steps, without touching the site’s code. You need the WordPress dashboard, browser developer tools and plugin logging switched on. The order is:
- in developer tools, find stable selectors for the field container and the send button,
- in “Form mappings”, open the “Custom Forms” tab, click “+ Add integration” and enter the container selector in “Form CSS selector”,
- set “Send on” to “Button click (widgets without a form)” and fill in “Button CSS selector”,
- list the mandatory fields in “Required fields” and add the @text suffix to date lists,
- submit the widget with a wrong number and confirm that no new entry appears in “Logs”,
- send a real request and follow its path to the CRM in “Logs”.
Each “Logs” entry groups the steps of one submission: building the payload, queuing and the API requests. A complete set after the real test means the widget is wired up correctly. No new entry after the wrong-number test proves the required fields work.
With Marketing Source Tracking, leads from widgets without a form reach the CRM with their campaign, just like form submissions. You can try it on the widgets on your own site for 3 days. If you need a hand with mapping your forms, get in touch.
