Installation

There are a few options to install Smartlook. You can insert your code directly into your website’s HTML or integrate it into your CMS with the help of our tutorials.

Deploying the code snippet

Copy the snippet and paste it in your website’s source code, or you can send it to your developer via email and have them set it up. This code is unique to your project.


When copying the snippet into your website, the ideal location for the tracking code is at the very bottom of the website HEADER.


An example of a Smartlook script pasted into a website header:

Notice that the Smartlook script (lines 14-21) is pasted at the end of the header which ends on line 23.

(be sure to copy the code from your account - The above image is only an example)

Tracking through your CMS

Alternatively, check out our integration tutorials for help with inserting the Smartlook code. Simply click on ‘Get the instructions’ from the dashboard and follow the guides to the respective platforms.

Installation for developers using NPM

Another option is to import and initialize the Smartlook recorder into a page.

Did this answer your question?