Mautic Recommender
Search…
Introduction
Getting started
Installation
Create events
Import items
Import events
Track events
Features
API
About Mautic
Untitled
Powered By
GitBook
Import events
If you already got history of your contacts. Just create JSON export of your events and import by command
1
php app/console mautic:recommender:import --type=events`
2
`--file="http://domain.tld/path/to/events.json"
Copied!
JSON format example
1
[
2
{
3
"itemId": 13807,
4
"eventName": "purchase",
5
"contactEmail": "
[email protected]
",
6
"price": 41,
7
"profit": 19,
8
"dateAdded": "2018-12-24 11:12"
9
},
10
{
11
"itemId": 13807,
12
"eventName": "addToCart",
13
"contactEmail": "
[email protected]
",
14
"price": 19,
15
"profit": 6,
16
"dateAdded": "2019-01-11 09:12:31"
17
}
18
]
Copied!
Previous
Import items
Next
Track events
Last modified
3yr ago
Copy link
Contents
JSON format example