Appearance
Magento Integration
The Magento (Adobe Commerce) integration uses the same lightweight tracking snippet as Custom HTML — you paste it into your store's HTML head, and InfluTrace credits sales to the right creator.
Connecting your store
- Open Integrations in the sidebar and click Add integration.
- Choose Magento from the library.
- Enter your store URL (the exact address your storefront is served from).
- Click Get snippet and copy the code.
Installing the snippet
In the Magento admin, go to Content → Design → Configuration, edit your store view, and open HTML Head → Scripts and Style Sheets. Paste the snippet there and save, then flush the cache (System → Cache Management).
Open your storefront and click Verify on the integration card in InfluTrace.
Attributing orders
- Using Google Analytics 4 / GTM enhanced ecommerce? Most Magento stores do. When your store pushes a
purchaseevent to the dataLayer, InfluTrace captures orders — and add-to-cart — automatically, with nothing to add to the success page. See Automatic capture. - Otherwise, report the sale from the success page with a one-line
influtrace('order', …)call. The full order and add-to-cart API is documented under Custom HTML → Reporting orders.
TIP
Map creator discount codes in Coupon Attribution as a safety net — coupon is the most durable signal and works regardless of how orders are captured.
Everything else — verifying, security, enabling the store on links/coupons, and troubleshooting — works exactly as described in Custom HTML.
