Supine documentation

Technical support & implementation manual.

Implementation

The Supine implementation is done using a snippet of JavaScript code that allows you to track visitor activity on your website. The documentation will help you step-by-step how to correctly implement Supine functionality.

1. Base code

Placement: on every page

Please use code that has been generated especially for your website. Login into your account and click on the "Tracking" link in main navigation.

2. Conversion code

Placement: on "thank you" / purchase page
Allowed values (revenue): float or integer
Allowed values (transactionId): string
Both parameters are mandatory.
Timing: This code must be triggered after the Base code above.
Please make sure, that after refreshing the page this code is not trigger again == deduplication needed.

3. Additional code

3.1. Page type
Description: set a page type for actual page load
Placement: on every page
Allowed values: 'home', 'product', 'category', 'search', 'cart', 'purchase', 'other'
Timing: This code must be triggered after the Base code above.
3.2. Product price
Description: set a product price of actual product on page
Placement: on product detail page
Allowed values: float or integer
Timing: This code must be triggered after the Base code above.
3.3. Add to cart
Description: trigger this event after product was added to cart
Placement: on product, category or search page type
Timing: This code must be triggered after the Base code above.

Full example in GTM

Note: this setup might little bit differ from your GTM setup.

1. Base code with with parameters setters
GTM trigger: All pages
2. Add to cart event
GTM trigger: Add to cart
Timing: This code must be triggered after the Base code above. Use "Tag Sequencing" in GTM to make sure the order is correct.
3. Setup retargeting tags
In this example in part no. 1, there are defined two events 'event':'fbGoRetargeting' and 'event':'adwGoRetargeting'.
Now assign trigger for each tag in your GTM, that represents retargeing code. In this case event fbGoRetargeting will trigger Facebook retargeting code, and another trigger for AdWords (event adwGoRetargeting).