Blaze Ecommerce
Ecommerce Event Tracking
Note: This involves two distinct steps because the Blaze Ecommerce plugin does not capture web events on pages other than the menu page.
Add the Surfside Pixel
Fill in the
accountId
andsourceId
fields with your Surfside account ID and source ID respectively. These will be provided to you by your Surfside account manager.Add the code snippet below to the
<head></head>
section of your website website to enable web and ecommerce event tracking with Blaze Ecommerce.
<script>
(function() {
var surf = document.createElement('script');
surf.setAttribute('src','//cdn.surfside.io/sdk/1.0.0/wave.js');
surf.setAttribute('type','text/javascript');
surf.setAttribute('id','surfside');
surf.setAttribute('accountId','XXXXX');
surf.setAttribute('sourceId','XXXXX');
surf.setAttribute('platform','digital');
var sync = document.createElement('img');
sync.setAttribute('src','//edge.surfside.io/id/uid?');
sync.setAttribute('height','1');
sync.setAttribute('width','1');
sync.setAttribute('display','none');
document.head.appendChild(surf,sync);
})();
</script>
Enable the Blaze Ecommerce Plugin
- Navigate to the Blaze Ecommerce x Surfside Guide and only complete Step 1. This will enable the Blaze Ecommerce plugin to capture ecommerce events on the menu page.
Surfside Commerce Media (SCM)
Enable SCM in the Blaze Ecommerce Plugin
- Navigate to the Blaze Ecommerce x Surfside Guide and complete Step 2 and Step 3. These will enable ads to be displayed on the Blaze Ecommerce menu page for each placement enabled.
Note: The Blaze Ecommerce plugin does not always save the SCM settings. Please revisit the SCM settings page after saving and closing out to ensure that the settings are saved and enabled.