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.

  1. From the left navigation bar, select
    → Settings
    .
  2. In the right side column, go down to the Tracking section and select Event Types.
  3. 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.

  1. From the left navigation bar, select → Settings
  2. In the right side column, go down to the Tracking section and select Event Types.
  3. On the Event Types screen, hover your cursor over the right-most column and select
    → View/Edit.
  4. 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.

  1. From the left navigation bar, select → Settings
  2. In the right side column, go down to the Tracking section and select Event Types.
  3. On the Event Types screen, hover your cursor over the right-most column and select
    → View/Edit.
  4. On the View/Edit Event Type screen, select Show advanced settings.
  5. Next to the Customer Status Mapping line item, select
    .
  6. Confirm that New Customer Value has the value New, and Existing Customer Value has the value Existing.
  7. 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.

  1. From the left navigation bar, select → Settings.
  2. In the right column, select Gateway.
  3. Find the Campaign Tracking Template line item. Confirm it's configured exactly identical to the screenshot below (irclickid = {clickid}):
  4. 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.

  1. From the left navigation bar, select → Settings.
  2. In the right column, select Gateway.
  3. 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
  4. 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.

  1. From the left navigation bar, select → Settings.
  2. In the right column, select General.
  3. 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 as www.example.com or store.example.com.
  4. 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.

  1. 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
    
  2. Enter your authentication keys — your public key is your username; your private key is your password.

  3. 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
    
  4. 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.

  5. 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.
    
  6. Register the impact.com Partnership Cloud with the following command:

     $ bin/magento setup:upgrade
    
  7. Recompile your Adobe Commerce project using the following command:

    $ bin/magento setup:di:compile
    
  8. 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
    
  9. Verify that Impact Partnership Cloud is enabled with the following command:

     $ bin/magento module:status Impact_Integration
    

    This command should return Module is enabled.

  10. 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

  1. In the left navigation bar of the Adobe Commerce Admin Dashboard, select Settings → Integrations.

  2. 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.

  3. In the left navigation bar of the Adobe Commerce Admin Dashboard, select Stores → Configuration.

  4. Select Impact Settings from the Impact section of the Configurations screen.

  5. Navigate to the bottom of the landing page to Already have an impact.com account? and select Set up your integration.

  6. Select Existing Customer and fill in all fields with your impact.com account information.

    Account DataDescription
    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.
  7. 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.