Comarch
Last updated
Last updated
First, you will need to create a JIRA ticket on Comarch to ask them to setup Cohort on your account. They will setup a few things and provide you with credentials that you will require in the next steps.
Go to the cogwheel in the top right corner of your Cohort Admin interface and select the Apps section
Find Comarch app and click Connect
In API URL, enter The URL of the Comarch API (without the /b2b/ path) Example:
(Optional) Fill in the Program ID (numbers only) or Program Code
(Optional) In Partner, enter one if you want to use a specific partner
In Username, enter the username of the user created on step 1
In Password, enter the password of the user created on step 1
In Cohort Event Transaction Type, enter the code of the transaction type created on step 1
Select all the Cohort User Events you want to export to Comarch.
The User Events will be exported as a cohort_event
transactions that you defined in step 2, where event_type
attribute will be the type of event (cohort.challenge-completed
, cohort.app-connected
, …) and all the data specific to the event will be present in JSON format in the event_properties
attribute.
Depending on what you want to do, the Comarch team can assist you on creating the business rule. Here is an example of some business rules you can setup:
Give loyalty points when a user completes a Challenge on Cohort
...