Once your account has been activated, you will gain access to the monitoring code. The code will be displayed on the SALESmanago system homepage, after logging in, or in Settings > Integration. The system may take some time to detect the code on your website, usually, it takes a few minutes, but in rare cases it may take longer.
The script should be added onto each page of your service, right before the closing section – the </body> or </head> closing tags. Ideally, the script should be pasted into the website’s template so that the same code is stored in one location and duplicated on all pages.
NOTE: Only one monitoring code can run on a single page. Two codes pasted onto one page may disrupt the proper tracking of user visits. This may cause further problems in the operation of connected system functionalities, such as segmentation matrices or automation rules. For this reason, it is vital that you paste the monitoring code correctly.
As seen in the example below, scripts developed in CMS WordPress can be pasted into footer.php files:
Several minutes after implementation (provided there are visits on your page) the code implementation alert will disappear from the SALESmanago homepage. In extreme cases, it can take up to several hours – the system will recognize the code only after the first visit from a company IP or a monitored contact.
IMPORTANT: If you have a website built on PrestaShop or Magento platform then inserting the monitoring works differently because the code is automatically generated by the site plugin. Follow the links below to learn how to conduct this type of integration:
At the same time the main panel of the application (1) Website Visitor Analytics and (2) Individual Customer and Company Behavior Profiles will display.
The code should be placed on each subpage of your service or services. It is important to remember that pasting the code in more than one place (e.g. in the head and body sections simultaneously) must be avoided as in such cases all visits will be counted twice.
If you have more than service, use the same code for all of them. SALESmanago can monitor multiple services at the same time.
The SALESmanago code assigns three kinds of cookies: smuuid, smclient and smids. The first one is responsible for monitoring anonymous and B2B visits and is assigned to all users who visit the website and accept cookies. The second cookie will monitor a specific, identified contact and is assigned if a contact:
- clicked a link from SALESmanago mailing,
- filled in a form generated by the system or integrated via API,
- clicked a link generated on a contact card,
- clicked a link sent by email via proxy.
Finally, smids monitor a contact’s behaviour on all pages containing the same code, even if the contact has clicked on a link only to one of them.
The script must be pasted correctly for contacts to be monitored! It is the first action to be taken after you start working with SALESmanago.