Jump to content

Prestashop 1.5.6 adding Clerk IO sales tracking data API with links to Prestashop details


jumpwear

Recommended Posts

Hi,

 

I am struggling to get information from Clerk IO to set up a API for sales tracking from Prestashop 1.5.6 in a correct way.

Main question is what to fill in exactly in such a way the details are extracted from Prestashop in the correct manner.

 

Information about clerk IO API setup:

http://docs.clerk.io/#/installing_clerk/sales_tracking

 

Attribute Value

data-api

The API for the sales tracking. This should always be log/sale.

data-sale

The sales ID-number.

data-email

The customers email if you want to use email recommendations. Can be left blank.

data-customer

The customers ID-number if available else null.

data-products

A JSON list of the product IDs.

Example:

  1. <span
  2. class="clerk"
  3. data-api="log/sale"
  4.  
  5. data-sale="123456"
  6. data-email="[email protected]"
  7. data-customer="7890"
  8. data-products="[123, 456, 789]">
  9. </span>

what to fill in for example after 'data-sale' exactly?

 

Kind regards,

 

Marcel

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...