Overview
This guide takes you through the 5 steps to implement PureClarity on your site using the bespoke implementation approach. Before you begin, PureClarity provides a number of Plug-ins that will automatically undertake a number of these steps. Please check out our integration page to see if we have a plug-in for your ecommerce platform.1. Planning
The first decision before implementing PureClarity is whether you will adopt the client-side or server-side implementation method. The Client-side method is our recommended approach, however server-side may give you more control for complex installations. For more information see the Implementation Methods below. To get the best out of PureClarity you need to consider the most optimal placement of the merchandising zones. To help you decide we have provided a best practice guide on where to place these zones. We recommend you review them before adding the PureClarity elements to your site as described below in step 2. For more information see our guide on the Optimal Placement of Zones.PureClarity allows you to make up to 8 zone requests per page load. Each additional set of 8 zone requests after this are counted as an additional page view, which is taken from your monthly page view charge.
2. Implementation
There are 3 main stages to implementing PureClarity into your ecommerce platform:- Add the PureClarity JavaScript Snippet (PCJS) master function to each page.
- Add event tracking, to track user activity such as product views and add to basket.
- Add Merchandising Zones, to display PureClarity content, such as product recommenders or banner images.
<head> tag. This is detailed in PCJS Master Function section.
Event tracking is needed in order to send user activity to PureClarity, such as product views, basket content, orders placed, currency changes and customer login & logout. Depending on the implementation type the approach varies. For client-side implementations events are added using Javascript and the PCJS master function. For server-side implementations your ecommerce platform will be responsible for sending events as HTTP requests. The approach to adding event tracking to your site is outlined in the relevant implementation sections.
Zones are areas on the site that display PureClarity content to your users. Similar to event tracking, described above, the approach varies depending on your implementation type. For client-side implementations <div> elements on your site are tagged with specific attributes, and the PureClarity Javascript takes care of the rest injecting HTML onto the page. For server-side implementations HTTP requests are made to PureClarity to retrieve data and then you will need to render HTML around the data models returned. The approaches are outlined in the relevant implementation sections.
