Step 1: Install the Tracking Module
Install the tracking module from Packagist.
Step 2: Create Integration in Magento
In your Magento installation, navigate to System → Integrations → Add New Integration.
In the Integration Info tab, complete the following fields:
Name: Admetrics Data Studio
Email: [Your Contact Email]
Identity Link URL: https://datasource-api.app.admetrics.io/api/1/dsa/magento/oauth/identity
In the API tab, set the permissions to: All
Step 3: Create Integration in Admetrics Data Studio
After creating the integration, find and copy the Consumer Key by opening the integration in Magento (click the edit icon).
In Admetrics Data Studio, go to Settings → Data Integrations, and add a new integration:
Select Magento.
Provide a name for the integration.
Paste the copied Consumer Key.
Enter the store_code of the store you wish to integrate. If no store_code is provided, Admetrics Data Studio will use “default”.
Hint: The integration should now show the status “Need Re-Auth.”
Step 4: Activate Integration in Magento
To activate the integration, go to your Magento installation and navigate to System → Integrations.
Click Active to complete the activation process.
Hint: The integration should no longer be in “Need Re-Auth” status.
Step 5: Enable Tracking in Admetrics
In Admetrics Data Studio, go to Settings → Tracking & Consent, and enable the tracking.
If needed, configure the consent banner.
Save your changes by clicking Save.
Congratulations! You’ve successfully integrated Magento with Admetrics Data Studio.