User activities import
Bulk import user activities to insert user activities that happened outside of real-time tracking. Those activities usually are offline activities, like store visits or store purchases, but you can adapt it to your use cases.
Activities imported through bulk import don't go through the activity processing pipeline. You shouldn't use this feature if you intend to do conversion detection or automation activation. Your activity analyzers also won't process those activities, and you should format exactly how you expect them to be stored by mediarithmics.
How-to
Use the bulk import endpoints to create a document import with theUSER_ACTIVITY
document type and APPLICATION_X_NDJSON
mime type. Only ndjson
data is supported for user activities.
Then, create an execution with your user activities formatted in ndjson
.
Example
You can, of course, upload multiple activities at once. Note the uploaded data is in ndjson
and not json
. That means the different activities are not separated by commas, but by a line separator \n
Last updated