Your website performance is our top priority

Kahoona’s top priority is maintaining our customers’ website performance.

The Kahoona tag is lightweight (under 20 KB) and loads asynchronously to ensure minimal impact on site performance.

<aside> 💡

<customer-id> will be supplied by CSM during onboarding.

Please contact [email protected] for any questions.

</aside>

Preliminary requirements

Website CSP (Content Security Policy):

Make sure to allow loading content from *.kahoona.io

GTM implementation

Our team can provide an exported GTM container for quick implementation.

For tag managers other than GTM, or for any requirement to implement the script differently than described below, please contact your account manager or [email protected] to validate the implementation with Kahoona’s technical team for best practices.

Google Tag Manager instructions:

  1. Go to GTM dashboard.

  2. Click on “Tags”.

  3. Select “Custom HTML” for tag type.

  4. In the HTML field within the Custom HTML section, paste the following code :

    <customer-id> will be provided by your Kahoona account manager during onboarding

    <!-- Kahoona production tag -->
    <script>
    var script = document.createElement('script');
    script.async = true;
    script.src = "<https://cdn.kahoona.io/><customer-id>/kahoona-live.js";
    document.getElementsByTagName('head')[0].appendChild(script);
    </script>
    

    4a. For staging environment ask your AE/CSM for the staging script address.

    The staging script is a non-minimized version for debugging.

  5. Select the "Initialization - All Pages" as the trigger.

  6. Name your tag “kahoona-pixel”.

  7. Click save, submit and then publish.