To set up website visitor identification, add the Happierleads tracking script to every page of your B2B website, confirm it fires on real visits, and connect the output to the CRM your sales team already uses. For a marketing or sales leader at a company with roughly 11 to 200 employees, the install is the easy part. The work that determines results is deciding who gets alerted, how identified accounts are routed, and whether the setup meets your privacy obligations.

What You Need Before You Install
Before anyone touches the website, settle three things. Each one prevents a common delay later.
- Site access: someone who can edit site header code, a tag manager, or your CMS theme.
- CRM owner: the person who manages your HubSpot or Salesforce instance and can approve a new integration.
- Alert owner: one named person who reviews identified visits each day, usually a Head of Sales, Demand Generation lead or Revenue Operations manager.
Related: Website Visitor ID Best Practices for Small B2B Teams
Step-by-Step Setup
- Create your Happierleads account and open the dashboard. If you want a walkthrough tailored to your stack, book a free demo.
- Copy your tracking script from the setup screen. Do not edit it.
- Install it using one of the methods below. Install on all pages, not only the homepage, so pricing and product pages are covered.
- Verify tracking by visiting your own site from a browser that is not logged in to your team tools, then checking the dashboard.
- Connect your CRM and alerts once tracking is confirmed, so identified visits flow into the records your reps already use.
Installation Options
Direct header installation
Paste the script into your site header, just before the closing </head> tag. This is the most reliable option for engineering-led teams that manage their own templates. Ask a developer to confirm the script loads on every template, including landing pages built outside the main CMS.
Google Tag Manager
Create a new Custom HTML tag, paste the script, set the trigger to All Pages, and publish in a test environment first. Marketing teams often prefer this route because they can manage it without a developer release.
WordPress
Use a header scripts plugin so the code survives theme updates. Editing header.php directly works, but a theme update can overwrite it. Keep a note in your team wiki of where the script lives.
Related: Website Visitor ID Privacy: A Guide for Small B2B Teams
Verify Tracking Before You Trust the Data
A script that is installed but not firing gives you an empty dashboard and a false sense of coverage. Run these checks before you tell the sales team the system is live:
- Load several key pages, including pricing and product pages, and confirm each one appears in the dashboard.
- Check that the tag fires once per page view, not multiple times.
- Confirm that your own team's internal traffic is either filtered out or clearly labeled.
- Make sure the script is not blocked by consent tools in a way that silently drops visits.
Route Identified Visits to the Right Owner
Once tracking is reliable, decide who sees what. For a small B2B sales team, the simplest model is a single Slack channel for high-fit accounts and a daily CRM review for everything else. Set filters for your target account profile, such as company size, industry and job title, so reps are not flooded with students, job seekers or irrelevant companies.
If you run HubSpot or Salesforce, map identified visits to contacts and accounts before you turn on alerts. Our guide on HubSpot and Salesforce visitor identification setup covers field mapping. For a broader playbook on how small SaaS teams act on these visits, see Website Visitor ID for B2B SaaS: A Playbook for Small Teams.
Check Compliance Before Launch
Visitor identification touches personal data, so involve whoever owns privacy or legal review before you go live. Update your privacy notice where it describes website analytics and data sources, and confirm your approach fits the rules that apply to your visitors in the US, UK and EU. The article on GDPR and CCPA rules for visitor ID outlines the questions to put to your counsel. This is general information, not legal advice.
Common Setup Mistakes
- Installing on the homepage only, which misses the pages with the strongest buying signals.
- Sending every alert to the whole team, which trains reps to ignore them.
- Skipping CRM field mapping, so identified visits never become follow-up tasks.
- Launching before the privacy notice is updated.
- Judging success by raw visit counts instead of qualified accounts that reach the pipeline.
Next Steps
After the first week, review which identified accounts match your target profile and whether reps acted on them. Adjust the filters, then widen coverage to more pages. If you want help configuring the setup for your CRM and sales team, book a free demo with Happierleads.
Frequently asked questions
How long does website visitor identification setup take?
The script install itself is usually quick, but the full setup also includes verification, CRM mapping, alert routing and a privacy review. Plan for these steps rather than a single afternoon, especially if legal review is required.
Where should the tracking script be installed?
Install it on every page of your site, using your header code, a tag manager or a header scripts plugin. Coverage on pricing and product pages matters most for identifying buying-stage visitors.
How do I confirm the script is working?
Visit several pages of your own site from a browser that is not logged in to your team tools, then check the Happierleads dashboard for those visits. Confirm each key page appears and that the tag fires once per view.
Does this setup work with HubSpot and Salesforce?
Happierleads integrates with HubSpot and Salesforce. Map identified visits to contacts and accounts before turning on alerts so the data lands in records your reps already use.
Do I need to update my privacy notice?
Review your privacy notice before launch, since visitor identification involves personal data. Your privacy or legal team should confirm the approach for your US, UK and EU visitors.



