Add Leadsourcing’s script to your WordPress site to enable website visitor identification with Elementor.
Prerequisites
❕ You need:
Access to your WordPress admin dashboard.
Permissions to edit pages and templates with Elementor.
The Leadsourcing tracking script from your Script section in the Leadsourcing dashboard.
Step 1: Copy the Leadsourcing Script
Go to the Script section in your Leadsourcing dashboard.
Copy the entire script snippet to your clipboard.
Step 2: Open Your Website with Elementor
Log into your WordPress admin panel.
Navigate to the page, header, or footer template where you want to add the script.
Click Edit with Elementor.
Step 3: Insert an HTML Widget
In the Elementor widget panel, find and drag the HTML widget into the Header or Footer area.
Placing the script in your Header ensures it runs on all pages.
Step 4: Embed the Leadsourcing Script
Click the Edit icon on the HTML widget.
Paste the Leadsourcing script into the HTML Code editor, including both <script> and </script> tags.
Step 5: Save and Apply Changes
Click Update or Save to apply your changes in Elementor.
If your site uses a caching plugin, clear the cache to update the live site.
Verification, Results, or Next Step
Visit your site and check the source code to confirm the Leadsourcing script is present.
Use the Leadsourcing dashboard to verify that new website events are detected.
Tips & Best Practices
Place the script in your site’s Header for sitewide tracking.
Clear caching plugins whenever you update scripts to ensure changes go live.
Contact support if you need help locating the script or if tracking is not working as expected. Adding the script enables full use of Leadsourcing’s website visitor identification and AI-powered lead generation features.