Learn how to track lead conversion events with Google Tag Manager and Dub
lead
event happens when a user performs an action that indicates interest in your product or service. This could be anything from:
Set up Server Container
Import Dub GTM Server Client Template
Create Dub Server Client
/dub/track
Import Dub GTM Server Tag Template
Add Lead Tracking Tag
dub_
)clickId
from the Dub Server Client event datacustomerExternalId
from the event dataeventName
from the event data (e.g., “Sign Up”)customerName
from the event datacustomerEmail
from the event datacustomerAvatar
from the event data (optional)eventQuantity
from the event data (default: 1)dub_conversion
Property | Required | Description |
---|---|---|
clickId | Yes | The unique dub_id parameter that the lead conversion event is attributed to. |
eventName | Yes | The name of the event. Example: “Sign up”. |
customerExternalId | Yes | The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer. |
customerEmail | No | The email address of the customer. If not passed, a random email address will be generated. |
customerName | No | The name of the customer. If not passed, a random name will be generated (e.g. “Big Red Caribou”). |
customerAvatar | No | The avatar URL of the customer. If not passed, a random avatar URL will be generated. |