Forms and leads.
On websites that bring in customers through forms, we count a lead only once the form has been sent successfully, not when someone clicks the button.
Turn on leads
In Tracking → Setup, under “What we track on the site”, choose Leads. On WordPress, also install the Optimads plugin: it also catches forms that reload the page.
Forms we recognize
Choose what counts
Every form found on the site shows up in “Forms on the site”. For each one you choose:
Then click “Save the forms”. Until you choose, newsletter forms count as a signup, careers forms don't count, and the rest count as a lead.
Custom actions
For things that aren't forms: a booking, a thank-you page, a click on a specific button. You can have up to 10.
Click “Add an action”
Give it a name and choose what it is: Lead, Contact, Appointment, Application / request, Free trial, Subscribe, Sign up, Find location or a custom name.
Choose when it counts
When it counts What you type Page visited Some text from the page address, e.g. /thank-you.Click on a button or link The button text or part of the link. From code (developer) The name your developer sends. Optional: value and frequency
A money value and how often: once per visit or every time. Then “Save the action”.
Your developer sends the “From code” action with optimads.track('NAME') or dataLayer.push({event: 'NAME'}).