Search K
Appearance
This guide walks you through adding the Leadbehavior template to your Google Tag Manager container and configuring it to score your leads.
Before you begin, make sure you have:
Open Google Tag Manager and select your container
Navigate to Templates
Search the Community Template Gallery


Add the Template
Go to Tags
Select the Leadbehavior Template
Configure the Tag
Fill in the required fields:
| Field | Description | Where to Find It |
|---|---|---|
| Account ID | Your unique Leadbehavior account identifier | Leads Dashboard |
| Lead ID | The ID of the lead you're scoring | Leads Dashboard |
| Order ID | A unique identifier for each submission | Google Ads requires an Order ID to match on. We understand that many conversion actions on a site do not warrant an Order ID. However, since one is required for Google Ads we must generate on and send it to both the Google Ads Conversion and Leadbehavior tags. |
Order ID
The Order ID should be a unique value for each form submission. The Google Tag Manager variable, Random Number is not sufficient because the random number is evaluated every time it is used. Consider using a cookie or local storage value that persists for the user's session.
Click on Triggering
Choose When to Fire
Common trigger options:
Important
Make sure the trigger fires after the lead data is available in your dataLayer or form variables.
Once you've verified everything works correctly: