Conversion tracking
Last updated: 22 July 2026
If you run Google or Meta ads to your website, you want to know which campaigns actually produce leads — and you want your ad platform to know too, so it can optimise for people who convert. tradiepricer handles both automatically.
How it works
- When someone clicks your ad and lands on your site, the tradiepricer widget captures the campaign parameters from the page address (UTM parameters plus the Google, Meta and Microsoft click IDs) and remembers them for the visit — even if the visitor browses to another page before using your calculator.
- When they submit the calculator, that attribution is saved with the lead. You’ll see it on each lead in your Leads dashboard and in the CSV export.
- At the same moment, the widget fires a conversion signal on your page. If you already use Google Tag Manager, Google Ads (gtag) or the Meta Pixel, it’s picked up with no extra code.
There is nothing to install beyond your existing embed snippet and whatever ad tags your site already runs.
Google Tag Manager
- Create a trigger: Custom Event, event name
tradiepricer_lead. - Optional: create Data Layer variables for
lead_value,currencyandcalculatorto pass the estimate value into your tags. - Attach the trigger to a GA4 event tag or a Google Ads conversion tag, using
lead_valueas the conversion value if you want value-based bidding.
Google Ads (gtag)
If your site loads gtag directly, the widget automatically fires a generate_lead event with { value, currency: "AUD" }. In Google Ads, create a conversion action from the generate_lead event (via your linked GA4 property), or use Tag Manager as above for a dedicated conversion tag.
Meta Pixel
If the Meta Pixel is installed on your page, the widget automatically fires the standard Lead event with the estimate value and currency. It will appear in Events Manager like any other Lead event, and you can optimise campaigns for it directly.
Custom setups
For anything else, listen for the DOM event the widget dispatches on your page after every successful submission:
<script>
document.addEventListener('tradiepricer:lead', function (e) {
// e.detail = { value, currency, calculator, lead_id }
console.log('New lead worth', e.detail.value, e.detail.currency);
});
</script>Where attribution shows up
Each lead in your dashboard shows the source, medium, campaign and click ID it arrived with, and the CSV export includes columns for every UTM parameter and click ID — handy for matching leads back to campaigns in a spreadsheet or importing offline conversions.
Privacy
The conversion signal contains only the estimate value, currency and calculator reference — your customer’s name, email and phone number are never shared with advertising platforms. If you use conversion tracking on your website, remember to mention analytics and advertising cookies in your own privacy policy.