Adding Connectif JavaScript to your website is the first step in creating a custom integration. Once you insert a piece of code, the platform will automatically start gathering information about the page visited.
In this article, you’ll learn how to add Connectif JavaScript to your website.
STEP 1. Find the Connectif JavaScript
1. Access "Integrations > Web > Configuration".
2. In the client integration Script section, click Copy to clipboard.
STEP 2. Add JavaScript to your website
3. Find the "<body>" element in your site’s HTML.
4. Paste the content from the clipboard as the first piece of code within "<body>".
5. Save the changes and publish your page.
Keep learning!
To make the most of your Connectif account, we recommend reading these articles next:
-
Configuring Connectif JavaScript on your website, to make adjustments and customize its behavior.
- Initializing Connectif JavaScript, to monitor and customize its run time.
- Steps to creating a custom integration, to continue the integration process using Connectif tags.
- Sending a list of events with connectif.managed.sendEvents, to continue the custom integration process using Connectif JavaScript.