If your online store is running on PrestaShop, you can easily implement your Sleeknote tracking code. (You’ll only need to do this once. 🤓)

How to Add Your Tracking Code to PrestaShop

Before going into PrestaShop, you need to create a custom tracking code for PrestaShop.

First, copy the following script into a document:

<script id='sleeknoteScript' type='text/javascript'>

(function () {

var sleeknoteScriptTag = document.createElement('script');

sleeknoteScriptTag.type = 'text/javascript';

sleeknoteScriptTag.charset = 'utf-8';

sleeknoteScriptTag.src = ('//');

var s = document.getElementsByTagName('script')[0];

s.parentNode.insertBefore(sleeknoteScriptTag, s);



Next, replace CUSTOMERID with your Sleeknote customer ID. Read this article to learn how to find your customer ID.

This is the tracking code you’ll add to PrestaShop. Here’s how:

  1. Find “header.tpl” under your theme folder and open it.
  2. Copy the tracking code you created earlier and paste it before the closing </head> tag.
  3. Add {literal} and {/literal} before and after your Sleeknote tracking code, so it looks like this:

4. Save and close your file.

5. Delete or force cache and compile your template files.

6. Log in to your PrestaShop admin panel. Go to “Advanced Parameters > Cache” and click “Clear Smarty Cache & Autoload Cache”.

Now your tracking code is implemented and your Sleeknote campaigns are showing on your site. 🤓