Not what you’re looking for?

Submit a Ticket
?

Partnerize Salesforce Commerce Cloud Cartridge Installation

_____________________________________________________________________________________________________________________

This article will review:

  • How to install the Partnerize Salesforce Commerce Cloud cartridge
  • Access to additional technical documentation

_____________________________________________________________________________________________________________________

Index

Overview

Partnerize has a LINK cartridge with Salesforce Commerce Cloud (SFCC) which allows brands that use SFCC as their eCommerce platform to easily integrate their conversion tracking using a pre-built cartridge.  This integration uses a 1st party cookie tracking solution via a Partnerize tag. This ensures that the brand’s tracking is not reliant on 3rd party cookies, and is therefore ITP (and equivalent) compliant. 

Before the cartridge can be configured for usage, the cartridge must first be installed into the brands SFCC site.  The cartridge is designed for SFCC API version 21.3 (Compatibility Mode: 19.10) with:

  • SG version 105.1.0
  • SFRA version 5.3.0

The cartridge is designed with US locale but multi-locale and multi-currency support.

 

Implementation Steps

Import Cartridge 

  • Download the cartridge source code
  • Establish a new digital server connection with your SFCC Instance
  • Import cartridges to a workspace in Salesforce UX Studio:

Screenshot_2021-03-22_at_11.50.50.png

  • Add cartridges to Project Reference of Server Connection:

Screenshot_2021-03-22_at_11.51.47.png

  • Wait until Studio completes workspace build and uploads source codes to the sandbox.

Assign Cartridge to site

  • Go to Administration > Sites > Manage Sites > Select your site from the list “Storefront Sites”:

Screenshot_2021-03-22_at_11.53.20.png

  • Select Settings tab. At the beginning of the cartridge path, add the following:
    • SG:

Screenshot_2021-03-22_at_11.54.16.png

    • SFRA

Screenshot_2021-03-22_at_11.54.23.png

Assign Cartridge to Business Manager

  • Go to Administration > Sites > Manage Sites > Select “Manage the Business Manager site”
  • Select Settings tab. In the beginning of the cartridge path add the following:

Screenshot_2021-03-22_at_11.57.01.png

Screenshot_2021-03-22_at_11.57.07.png

  • Click Apply button

Import of Metadata

  • Go to Administration >  Site Development > Site Import & Export. Upload partnerize.zip from metadata folder:

Screenshot_2021-03-22_at_11.58.45.png

  • Select partnerize.zip and finish the import process.

Enable Partnerize BM extension

  • Go to Administration >  Organization > Roles & Permissions. Select the user group that you want to allow access to Partnerize BM extension (Administrator for example):

Screenshot_2021-03-22_at_11.59.47.png

  • Select “Business Manager Modules” tab
  • Select the site for which you want to allow the use of Partnerize BM extension (i.e. SG or SFRA)
  • Set the checkbox for Create Partnerize Tag for Business Manager Module and click “Update” button

Custom Code

SG - Perform changes in controllers

  • YOUR_CARTRIDGE_controllers/cartridge/controllers/COSummary.js
  • Put the following rows in line 71 to the submit() function:

Screenshot_2021-03-22_at_12.01.08.png

SG - Perform changes in templates

  • YOUR_CARTRIDGE_core/cartridge/templates/default/components/footer/pageFooter.isml
  • Put the following rows in line 24 to the and of <footer> section:

Screenshot_2021-03-22_at_12.01.57.png

  • YOUR_CARTRIDGE_core/cartridge/templates/default/checkout/confirmation/confirmation.isml
  • Put the following rows in line 15:

Screenshot_2021-03-22_at_12.02.30.png

SFRA - Perform changes in templates

  • app_storefront_base/cartridge/templates/default/components/footer/pageFooter.isml
  • Put the following rows in line 33 to the and of <footer> section:

Screenshot_2021-03-22_at_12.03.31.png

  • app_storefront_base/cartridge/templates/default/checkout/confirmation/confirmation.isml
  • Put the following rows in line 12:

Screenshot_2021-03-22_at_12.03.40.png

Next Steps

  • Configure the SFCC cartridge, following the instructions here.

Questions

If you have any technical questions with regards to this document, please contact our onboarding specialists at  integrations.support@partnerize.com 

Was this article helpful? 0 out of 0 found this helpful

Didn't get the answer you need?

Get in Touch