Troubleshoot the Clearbit Tag
Skip Ahead to:
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 Console in Your Debugger?
- Internet Explorer
Clearbit Tag Error: tracking.push
Should you encounter the error "Uncaught TypeError: tracking.push is not a function" with the Clearbit Tag, be aware that assigning the ID "clearbit" to the script can cause this issue. This assignment inadvertently overrides the global
window.clearbit reference, equating it to the script tag element instead of its intended function.
It's essential to ensure that IDs assigned to elements, especially scripts, do not conflict with global variables or functions. To avoid this, consider using more descriptive and unique IDs, or avoid assigning IDs to script tags unless absolutely necessary. For example, many customers use "tag_clearbitplatform". Regularly testing and reviewing the code in different environments, can also help in early detection of overriding issues.