Connecting your website gives you immediate insight into actionable data, showing which accounts and contacts visit your site and how they engage.
You can enable either account-level tracking only or account + contact-level tracking with a single script.
1. Decide Which Type of Tracking You Need
| Tracking Type | What It Captures | Cookie Usage |
| Account Website Tracker | Anonymous, account-level traffic and intent signals. | No cookies. |
| Contact Website Tracker | Everything the Account tracker captures plus identified contact-level activity. | Places a cookie on the visitor’s device. |
💡Compliance Note:
Contact-level tracking sets a cookie and may require explicit user consent (e.g., under GDPR). You are responsible for obtaining and managing all necessary permissions from visitors.
2. Add the Tracking Script to Your Site
Only one Propensity script should be present on each page. Adding more than one can double-count traffic.
In Propensity
Go to Overview → Account Website Tracker or Contact Website Tracker.
Click the Website Tracking Script button and copy your script.
Paste the appropriate code snippet as the first item inside the <head> tag of every page you want to track.
Account Only Website Example Tracking Script
<!-- Propensity tag (propensity_analytics.js) -->
<script src="https://cdn.propensity.com/propensity/propensity_analytics.js" crossorigin="anonymous"></script>
<script type="text/javascript">
propensity("propensity-[your_org_code]");
</script>Account and Contact Website Example Tracking Script
<!-- Propensity tag (propensity_analytics.js) -->
<script src="https://cdn.propensity.com/propensity/propensity_analytics.js" crossorigin="anonymous"></script>
<script type="text/javascript">
propensity("propensity-[your_org_code]", true);
</script>🔔 Reminder: The tracking script above is only an example. You must copy the Website Tracking Script from your dashboard.
💡 Tip: If you need both account and contact tracking, use only the second snippet (true argument). It automatically captures account-level data as well.
Using an Existing Global Site Tag
If you already run a Global Site Tag (gtag.js), simply add the Propensity config line from the snippet above to that tag.
3. Google Tag Manager Setup
- In Google Tag Manager, go to Tags → New.
- Click Tag Configuration → Custom HTML.
- In a new browser tab, open dashboard.propensity.com and click Website Tracking Script.
- Copy the code snippet for either Account or Account + Contact tracking.
- Paste it into the Custom HTML field.
- Click Add Trigger and select All Pages (or your preferred trigger).
- Save, name the tag (e.g., “Propensity Website Tracking”), then Submit → Publish → Continue.
Your tracking script is now live.
Verifying Your Installation
You can confirm the tracking script is installed correctly using either of the following methods.
Method 1: Inspect the Page Source
- Go to the page where you installed the script (typically your homepage).
- Right-click anywhere on the page and select Inspect.
- In the panel that opens, search for propensity.
- You should find two things:
- A script tag referencing
cdn.propensity.com/propensity/propensity_analytics.js - An execution line referencing
propensity-[your_org_code]
- A script tag referencing
- The script tag must appear before the execution line in the page's code.
If you don't find these two elements, the tracking script has not been installed correctly.
Method 2: Run a Live Test
- Go to your website and add
?propensity_test=trueto the end of the URL. - Right-click the page and select Inspect, then open the Console tab.
- If the script is installed correctly, you'll see a message confirming a successful test.
- If nothing appears in the console, the script is not installed correctly.
Key Reminders
❓Find the Contact Website Tracker FAQs here. 💡 Also setting up the ABM Connected Website? Follow this guide after you install the tracker. |