Integrating Contextual into a Wix site¶
This setup assumes that you have already setup your App Key on the Dashboard.
To integrate Contextual WebSDK on Wix website. First, Log into the Wix account and click on Setting. Scroll down the left-hand panel and click on Tracking and Analytics from Advanced settings.
Once you are on the settings page select the web section then copy the script and initialisation code into the same box of Step 2, as shown in the image below.
Then give the custom code a name (e.g Contextual Integration)
In the section Add Code to Pages select Load code on each new page from the dropdown within the All pages part.
Then click on Apply.
This needs to be done on any page that you want to show contextual content.
Check that you have either set USER_ID or removed it from the initialisation script.
USER_ID is the name you want to give to your install-id. This name is up to you. For more info visit the Tagging documentation. When you call register method, USER_ID is optional, you can set it later by sending user_id tag, it is string tag.
Save the changes that you have made to your site and then go to your Wix site and reload the page.
Video of the Integration steps¶
If you have any issues integrating Contextual into your Wix site please visit the troubleshooting guide here