Skip to main content
Master script
M
Written by Martyna Woźniszczuk
Updated over a week ago

The easiest way to launch QuarticOn solutions and integrate them with the website of your shop is to insert the appropriate script into the website code.

The universal, non-personalised script looks like this:

<script type="text/javascript">
(function() {
var _qS = document.createElement('script');
_qS.type = 'text/javascript';
_qS.async = true;
_qS.src = '//qjs.quarticon.it/qjs/Customer_ID.js';
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(_qS);
})();
</script>

Customer_ID means a unique customer code and is replaced in the panel with an individual identifier. The personalised script can be found in the Settings -> My scripts -> QuarticON script tab.

Where do you have to paste it?

Copy the script and then add it to the page code before the </head> tag.

What does the script do?

From now on, the <script> element will be created and it will be able to asynchronously:

  • send data about users' behaviour to the QuarticOn system,

  • download metadata about products on the website,

  • display recommendations frames in selected placements on the website.

Remember!


In order for any QuarticOn product to work on the website for the first time, it must be configured and adjusted to the given website by our Technical Support team.

Did this answer your question?