Installing the RetentionEngine Code Snippet
The final step to integrating the RetentionEngine with a Cratejoy based app is to paste the RetentionEngine Code Snippet onto your website.
You can find the Code Snippet in the RetentionEngine dashboard under the "Settings" tab. You have the option to either install either the Default Experience or the Embed Experience (available on Premium or as an add-on) to your site.
Once you've copied the Code Snippet you'll be using, you'll be able to paste it into your application using the next set of instructions.
Step 2: Paste the Code Snippet
Go to your Cratejoy admin panel at my.cratejoy.com and do the following:
- Click on "Design"
- Click on "Code"
- Choose "Edit Live Store"
- Click on "html" > "base.html"
- Scroll to the bottom of the "base.html" code. You will paste the snippet that you copied from the Retention Engine above "</body>". (Do not worry if your indentation does not look the same as below. It will still work.)
- Make sure to click "Save"