Rewards Front End Integration (with existing integration)
This page explains the integration requirements for being able to integrate Fast Track Rewards. This guide is for brands that already has integrated the Fast Track Front End Javascript SDK.
Step 1: Edit the configuration object
Edit the existing configuration object and add the property needed to enable rewards.
Step 2: Hook click event to open "My Rewards"
Below outlines how you can use Fast Track Rewards Web Components to show the "My Rewards Modal".
HTML:
You can put any HTML element inside the Fast Track element ft-my-rewards-toggle. The visibility of this HTML element and its content is controlled from FT CRM.
CSS:
In order to make the ft-my-rewards-toggle element hidden by default you can add below CSS.