8.SDK Web (JavaScript SDK)
8.SDK Web
In order to display content in the shop, the 8.SDK Web (JavaScript SDK) must be integrated. The variable apiId must be filled with the API ID provided by us.
<script type="text/javascript">
(function(d, s, w) {
var apiId = '<API-ID>';
w.eightlytics || function (w) {
w.eightlytics = function () {
window.eightlytics.queue = window.eightlytics.queue || [];
window.eightlytics.queue.push(arguments);
};
}(w);
var script = d.createElement(s);
script.src = 'https://wgt.8select.io/' + apiId + '/loader.js';
var entry = d.getElementsByTagName(s)[0];
entry.parentNode.insertBefore(script, entry);
})(document, 'script', window);
</script>Last updated
Was this helpful?