📄️ Integrate Opticks Sensor JS using Google Tag Manager
It's common to use some sort of tool to manage all the javascript snippets from external sources that must be added to a page. One of the most common tools is Google Tag Manager (GTM) and OpticksJS integration is fully compatible with it.
📄️ Integrate Opticks Sensor JS manually
The Opticks Sensor JS manual integration is performed by inserting a small piece of code to your website. This piece of code will then connect to the Opticks servers, analyze each visit, and decide whether it is valid or not based on the rules you've set up for your Sensor JS on the Opticks website.
📄️ Opticks Sensor JS response event
The Sensor JS will emit an opticksEvent event when it has finished processing the visit. You can listen for the event with the following code: