Troubleshoot the Clearbit Tag

Last Updated: July 25, 2022
Once the Clearbit tag is live on your website, and you have saved your Allowed Referrers, Clearbit will automatically identify and track the companies visiting your site.

Skip Ahead to: 

How to Check Your Companies Dashboard for Live Web Traffic

Visit the companies dashboard to see your live web traffic. Look for companies with recent Last Path and Last Visit At activity.

Screen_Shot_2022-05-18_at_6.00.27_PM.png

If the Clearbit tag is not populating data, use your browser's developer console to check your implementation.

The console allows you to write JavaScript and execute methods manually. You also can inspect the Network Tab in the developer console to view requests going from the browser to Clearbit's servers.

Are You Receiving Traffic on Your Website?

The Clearbit tag will only show traffic from website visitors that have been successfully revealed or identified. Clearbit cannot reveal 100% of your website traffic. It may take a few minutes (or hours) to start receiving identified company data, depending on the volume of traffic on your website.

Are You Loading the Clearbit Tag?

Open the JavaScript console. Type clearbit and press enter.
clearbit-console-troubleshoot.gif  

If you see the Analytics data type load, then it's working! If you do not get a response, it means that the Clearbit tag is not loading on your website.

How Do You Open the JavaScript Console in Your Debugger?

The JavaScript console is a part of a browser's developer tools. The console reveals syntax bugs and errors that may occur in your JavaScript code. Additionally, you may execute valid JavaScript by typing into the console. Most browser developer tools allow you to see request traffic as well.

You can display your browser's console by pressing the corresponding keys below:

  • Chrome: COMMAND+OPTION+J (Mac) or CTRL+SHIFT+J (Windows).
  • Firefox: COMMAND+OPTION+K (Mac) or CTRL+SHIFT+K (Windows) and then click on the Console tab.
  • Safari: COMMAND+OPTION+I (Mac) or CTRL+ALT+I (Windows) and then click on the Console tab.
  • Internet Explorer: F12 and then click on the Console tab.

Did You List Your Domain(s) on the Allowed Referrers List?

The Allowed Referrers list tells Clearbit which domains to accept requests from. If the domain that you are attempting to track is not added to the list, Clearbit will not accept requests from that domain.

Screen_Shot_2022-08-08_at_7.37.50_PM.png

Are You Seeing a 403 Error?

divya.png

A 403 error is thrown when you are not receiving referrer information for the Tags.js request and are unable to verify if the request originated from your website. To resolve this, update the Referrer-Policy to strict-origin-when-cross-origin since it only sends the origin for cross-site requests by default.

If you are still seeing errors after changing the referrer policy, check if you have any allowed referrers added in the Dashboard under API > Allowed Referrers, and remove them. Allowed referrers may have been added to both the Dashboard and the Platform, and using the Clearbit tag does not require the addition of allowed referrers in your Clearbit Dashboard.