Skip to content

Integration guide

Embed the Growl SDK in your app or website

Section titled “Embed the Growl SDK in your app or website”

Embedding Growl SDK in your website is a simple process. All you need to do is add a small snippet of code to your website’s HTML.

  1. Get your script tag

    The script tag is what loads Growl on your site. Here is a template of what it looks like:

    <script
    src="https://cdn.withgrowl.com/sdk.js"
    data-growl-publisher-id="YOUR_PUBLISHER_ID"
    ></script>

    Replace YOUR_PUBLISHER_ID with your actual publisher ID. \

  2. Find Your Publisher ID

    You can find your unique Publisher ID in the Growl Dashboard.

  3. Add the script to your website

    Once you have your script tag with your Publisher ID, add it to your website’s HTML file.

    The best place to put the script is right before the closing </head> tag of your HTML document. This is done to prevent content layout shifts on script load since the Growl script loads before your <body> tag.

    Here is an example of what your HTML file might look like after adding the script:

    <!DOCTYPE html>
    <html>
    <head>
    <title>My Awesome Website</title>
    <script
    src="https://cdn.withgrowl.com/sdk.js"
    data-growl-publisher-id="YOUR_PUBLISHER_ID"
    ></script>
    </head>
    <body>
    <h1>Welcome to my website!</h1>
    <p>Here is my content.</p>
    <!-- ... other website content ... -->
    </body>
    </html>
  4. Verify Your Installation

    After adding the script to your website:

    1. Save the changes to your HTML file.
    2. Upload the updated file to your web server if needed.
    3. Open your website in a web browser.

    You should now see the Growl script sdk.js load in your browser’s network tab.


That’s it! Your Growl SDK is now embedded. Growl now captures all behavioral user data, but still needs to capture chat data. Follow this guide to send chat data to Growl.

If you have any trouble, please contact our support team.