Documentation Index
Fetch the complete documentation index at: https://docs.videowise.com/llms.txt
Use this file to discover all available pages before exploring further.
Pixel Integration for SFCC
Introduction
This document provides instructions on how to integrate Order Tracking Pixel with SFCC.Our Salesforce Commerce Cloud implementation includes the Tracking Pixel pre-installed on the default Order Confirmation Page.If you are utilizing the default Order Confirmation Page, no further action is required.
Prerequisites
- Salesforce Commerce Cloud instance
- Admin access to your Salesforce Commerce Cloud instance
- Videowise Pixel Tracking activated from Videowise Application
- Videowise Cartridge in your Business Manager Cartridge path
Integration Options
There are two options to integrate the Order Tracking Pixel on other pages on your SFCC instance:Option 1: Adding our pre-defined ISML code to your files
You can add our already pre-defined ISML code to your preferred location. This method involves updating your ISML file to include our code. For example let’s modify thetemplate/default/checkout/confirmation/confirmation.isml:
- You will need to add our
<isscript>to the top of the file right under your decorate template (<isdecorate>)
- Add our
<isinclude>right before decorator ends
Order Tracking Pixel should now be available after the next successful order.
Option 2: Adding Custom JavaScript Code
Alternatively, you can add custom JavaScript code to your preferred location after a successful order. You will need to complete the necessary fields in the script. Here is an example:{{ ... }}) with the actual values from your SFCC instance.
All actual values can be retrieved manually with custom code or using our Javascript Helper public method getTrackingPixelData from cartridge/scripts/helpers/videoWiseHelpers.js which will return the following object:
Order Tracking Pixel should now be available after the next successful order.