Skip to main content

How to Add Leadsourcing’s Script to Google Tag Manager

Step by Step guide for adding the Leadsourcing tracking script on Google Tag Manager to begin identifying visitor traffic.

Leadsourcing Team avatar
Written by Leadsourcing Team
Updated over 2 weeks ago

Adding the Leadsourcing script using Google Tag Manager lets you enable website visitor identification and automate AI-powered lead generation without code edits.

Requirements

❕ Google Tag Manager must be installed on your website before you follow these instructions.

  • Make sure you have access to your organization’s Google Tag Manager account and container.

  • Have the Leadsourcing tracking script ready to copy.

  • If Google Tag Manager isn’t installed yet, see the Google Tag Manager support article for setup guidance.

Step 1: Access Google Tag Manager

  1. Log in with your credentials.

  2. Open the account and container for your website.

Step 2: Set Up and Customize a New Tag

  1. In the dashboard menu on the left, select Tags.

  2. Click the New button.

  3. Enter a descriptive name like “Leadsourcing Script”.

Step 3: Configure the Tag

  1. Click Tag Configuration.

  2. Select Custom HTML from the tag type options.

  3. Paste the Leadsourcing tracking script into the HTML field.

Custom HTML

Step 4: Set Up the Trigger

  1. Under the script field, click Triggering.

  2. Choose All Pages as the trigger so the script loads on every page.

Step 5: Save and Publish the Tag

  1. Click Save in the top right to store your tag.

  2. Return to the main workspace.

⚠️ Don’t forget to publish your changes: After creating the tag, select Submit in the top right, add a version name (e.g., “Added Leadsourcing Script Tag”), and click Publish. Creating and publishing a tag is a two-step process.

Verification & Next Steps

  • Visit Leadsourcing Visitor Identification platform and check that the script is active.

  • You may need to clear your browser cache or wait a few minutes for updates to take effect.

Tips & Best Practices

  • Save each tag with a clear name for future management.

  • Only use the All Pages trigger for global visitor tracking scripts.

Contact support if you need assistance with Google Tag Manager setup or script implementation. Once set up, you’ll enable real-time website visitor identification and seamless AI-powered lead generation.

Did this answer your question?