Decibel Insight
Knowledgebase

Decibel Tracking Code

Decibel will collect from any page that the script has been implemented on, providing the domain has been added in your Property Settings, so if you are looking to only capture specific pages, you will need to ensure that the script is only present on these pages, again either directly within your website template or by using your tag manager rules.

Your tracking code can be found at any time in the portal by going to Settings > Tracking Code.

The script loads asynchronously and is less than 30kb in size, so it won't slow down your website. More information on Security & Privacy can be found here.

<!-- Decibel - www.decibelinsight.com -->
<script type="text/javascript">
    // <![CDATA[
    (function (d, e, c, i, b, el, it) {
        d._da_ = d._da_ || []; _da_.oldErr = d.onerror; _da_.err = [];
        d.onerror = function () { _da_.err.push(arguments); _da_.oldErr && _da_.oldErr.apply(d, Array.prototype.slice.call(arguments)); };
        d.DecibelInsight = b; d[b] = d[b] || function () { (d[b].q = d[b].q || []).push(arguments); };
        el = e.createElement(c), it = e.getElementsByTagName(c)[0]; el.async = 1; el.src = i; it.parentNode.insertBefore(el, it);
    })(window, document, 'script', 'https://cdn.decibelinsight.net/i/XXX/YYY/di.js', 'decibelInsight');
// ]]>
</script>

In the above example, XXX indicates your account ID and YYY indicates the property ID. These placeholders will contain numeric values, which can be found by going to Settings > Tracking Code. If using a Hosted Tag, your tracking code will be different to the above, however, can still be found in the Tracking Code section of the portal.