Roistat integration
Installation
Install the module via Administration → Modules → Manage modules. Find «Roistat integration» and click «Install». Migrations will run automatically (adding the ms_roistat field to the orders table).
Configuration
Open the MS Roistat module card in add-on settings.
- Enter your counter ID — Roistat counter ID on the site.
- Project number — project number in Roistat dashboard.
- Your API Key — API key from Roistat integration settings.
- Show Roistat visit id in order — display roistat_visit value in order card in admin.
- Export fields — select which fields to send to Roistat: deal name, roistat code, order amount, cost, client ID, showcase.
Usage
After configuration the module works automatically: on order creation roistat_visit from cookie is saved, on status change from «Incomplete» the order is exported to Roistat. For initial data load use the buttons in the module card: «Export all to Roistat» (including statuses) or «Export clients and orders».
Verification
Ensure the Roistat counter is installed on the site and roistat_visit cookie is present. Place a test order and check for the deal in Roistat. In the order card in admin (when the option is enabled) the Roistat visit ID is displayed.
Мой Склад integration
When exporting orders to Мой Склад via CommerceML, the roistat field is added to order attributes automatically.