Integrate with Adobe Commerce (Magento)
Integrate with Adobe Commerce (Magento) is in beta
Currently, the impact.com plugin integration supports version 2.4.3, 2.4.4, 2.4.5, & 2.4.6 of Adobe Commerce.
impact.com supports a plug-in integration with Adobe Commerce (Magento) e-commerce stores, enabling you to track and send conversions directly to impact.com via our API. Once integrated, you can begin discovering and recruiting partners to drive traffic to your store, create contracts that establish payouts for conversions, access reporting data, and more.
Supported configurations
This integration does not support multi-store/scope configurations. It will only connect with your default store.
Pre-integration checklist
This section covers the key settings in impact.com that you'll need to confirm before starting the integration process. For each item, make sure your account matches the specified setting.
To begin, Sign in to your impact.com account.
Step 1: Event Type configuration
Online Sale Event Type
Confirm that your impact.com account has One (1) Event Type that is validated and set to track online sales.
- From the left navigation bar, select
→ Settings.
- In the right side column, go down to the Tracking section and select Event Types.
- Confirm the following:
- Type column reads Online Sale.
- Status reads as Active.
- Tracking reads as Web Services.
- Promo Code reads as
[Checkmark].
Tracking Method & Returns Processing
Confirm that the validated event type reports conversions and modifications/reversals (i.e., order & item returns) via API.
- From the left navigation bar, select
→ Settings
- In the right side column, go down to the Tracking section and select Event Types.
- On the Event Types screen, hover your cursor over the right-most column and select
→ View/Edit.
- On the View/Edit Event Type screen, confirm that:
- Tracking Method is configured as Non-Pixel Tracking (advanced) — Use system web service (API).
- Returns Processing is configured as Automate returns processing (advanced) — Use system web service (API).
Customer Status Mapping
Confirm that impact.com can distinguish between new and existing customers in your store, which can be used to alter publisher payouts.
- From the left navigation bar, select
→ Settings- In the right side column, go down to the Tracking section and select Event Types.
- On the Event Types screen, hover your cursor over the right-most column and select
→ View/Edit.- On the View/Edit Event Type screen, select Show advanced settings.
- Next to the Customer Status Mapping line item, select
.- Confirm that New Customer Value has the value
New
, and Existing Customer Value has the valueExisting
.
- Select Save.
Step 2: Gateway Tracking configuration
Campaign Tracking Template (
irclickid
)Confirm that the campaign tracking template is configured exactly the same as the steps below, otherwise tracking will not work.
- From the left navigation bar, select
→ Settings.- In the right column, select Gateway.
- Find the Campaign Tracking Template line item. Confirm it's configured exactly identical to the screenshot below (
irclickid = {clickid}
):
- Select Save.
Deep Linking
Confirm that your website and store domain(s) are configured under deep linking, which enables partners to link traffic directly to specific pages and products.
- From the left navigation bar, select
→ Settings.
- In the right column, select Gateway.
- Find the Deep Linking line item and configure the following domains under Permitted Domains, replacing
example.com
with your exact domains — do not use spaces between commas:
example.com,example.magento.com,*.example.magento.com
- Select Save.
Step 3: General tracking configuration
Site Definition
Confirm that your website domain(s) are configured as site definitions, which enables our tracking solution to forward traffic from our domains to yours.
- From the left navigation bar, select
→ Settings.- In the right column, select General.
- Next to the Site Definition line item, confirm that your domains that you want tracked are specified as a comma-separated list (no spaces). For example,
*.example.com,example.com
tracks everything on your top domain and any subdomains, such aswww.example.com
orstore.example.com
.
- Select Save.
Install impact.com to Adobe Commerce via Composer
This guide follows the General CLI installation process offered by Adobe Commerce — refer to their documentation for additional information about installing extensions via a CLI.
Install impact.com
impact.com recommends installing the Partnership Cloud extension via Composer — it’s easier to install, update, and maintain your installation versus a manual installation.
Using a terminal emulator, navigate to your root Adobe Commerce project directory and update your composer.json file with the following command:
$ composer require impact_tech/module-magento-integration
Enter your authentication keys — your public key is your username; your private key is your password.
Wait for Composer to finish downloading and installing the impact.com Partnership Cloud.
Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing impact_tech/module-magento-integration (X.Y.Z): Downloading (100%) Writing lock file Generating autoload files
Verify that the impact.com Partnership Cloud has been installed properly with the following command:
$ bin/magento module:status Impact_Integration
By default, the impact.com Partnership Cloud should be installed and disabled.
To enable the impact.com Partnership Cloud, use the following command to enable and clear any Adobe Commerce-generated static view files:
$ bin/magento module:enable Impact_Integration --clear-static-content
You should see the following output:
The following modules have been enabled: - Impact_Integration To make sure that the enabled modules are properly registered, run 'setup:upgrade'. Cache cleared successfully. Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes. Generated static view files cleared successfully.
Register the impact.com Partnership Cloud with the following command:
$ bin/magento setup:upgrade
Recompile your Adobe Commerce project using the following command:
$ bin/magento setup:di:compile
If you’re running Adobe Commerce in Production mode, deploy the module’s static files with the following command:
$ bin/magento setup:static-content:deploy
Verify that Impact Partnership Cloud is enabled with the following command:
$ bin/magento module:status Impact_Integration
This command should return
Module is enabled
.Finally, flush and clean the cache with the following commands:
$ bin/magento cache:flush $ bin/magento cache:clean
Activate & Configure impact.com
The following instruction set shows how to enable the integration using the Adobe Commerce Admin Dashboard.
Activate impact.com
In the left navigation bar of the Adobe Commerce Admin Dashboard, select Settings → Integrations.
On the Integrations screen, find the
ImpactIntegration
line item and select Activate.
Confirm that impact.com can access the necessary files of your store by selecting Allow, then confirm that the integration reads Active under the Status column.
In the left navigation bar of the Adobe Commerce Admin Dashboard, select Stores → Configuration.
Select Impact Settings from the Impact section of the Configurations screen.
Navigate to the bottom of the landing page to Already have an impact.com account? and select Set up your integration.
Select Existing Customer and fill in all fields with your impact.com account information.
Account Data Description Impact Account SID* Navigate to
→ Settings → API to find your Account SID. Copy the full case-sensitive value.Auth Token* Navigate to
→ Settings → API to find your Auth Token. Copy the full case-sensitive value.Program ID* Enter your Program ID value (a.k.a Campaign ID value). To find this value, select your brand name in the top left corner of Impact. Your Program ID is shown in gray type under your Program name in the Program column.
Event Type ID* Navigate to
→ Settings → Event Types. Your Event Type ID is the number in parenthesis next to the name of the event type — enter this value.Universal Tracking Tag (UTT)* Navigate to
→ Settings → General. Paste your entire unique UTT code into this field.In the top right corner of the screen, select Save Config.
End-to-End Testing
Once the impact.com app is fully installed to your Adobe Commerce store, you can begin end-to-end testing to ensure everything is working properly. Learn how to proceed with End-to-End Testing.
Updated about 1 month ago