getting Started
Overview
The Magento 2 source is used to periodically synchronize orders from Magento-based e-commerce stores to CDP, including detailed information for each order.
The source will synchronize in the following two situations:
Every two hours
Each time a frontend GTM tracking point pushes a Purchase event (including order information) to the source, it does so once.
In the first scenario, orders from the past two days are synchronized each time, and after deduplication, the Purchase event is sent back.
parameter
Parameter name | must | describe |
|---|---|---|
API Access Token | yes | API access token, please [see details]. |
Website Domain | yes | Website domain name, used in API calls. |
Sync Schedule | No, default value 2 | The cycle (in hours) for automatic order synchronization from the source. |
Source Configuration

API Access Token
Acquisition process:
Go to Magento Admin on the website, click SYSTEM on the left , and enter the integration settings.

Click "Add New Integration" on the right. Add new API integrations.

Configure the integration name, and then go to the API tab to set API permissions.

In API permissions, select all Orders permissions.

Save the configuration and obtain the Access Token.
Website Domain
Refer to the URL in the website's backend and extract the complete domain name from the URL, for example, abc.def.com.hk in https://abc.def.com.hk/admin_*****/ .
Simply fill in the configuration.
Tracking Point Reference
For tracking via Google Tag Manager , please refer to the following documentation:
