Skip to main content

Magento 2.X Integration

Connect Influencer Hero with your Magento 2.x / Adobe Commerce store to create affiliate links and discount codes for your influencers, and automatically sync clicks + sales back into your Influencer Hero CRM for performance tracking and reporting

Guadalupe avatar
Written by Guadalupe
Updated over a week ago

What you can do with the Magento integration

  • Create trackable product / collection / landing-page links for influencers from Influencer Hero

  • Track clicks + sales inside Influencer Hero

  • Use the data to report on performance and (optionally) calculate influencer payouts/commissions

Before you start you’ll need:

  • GoAffPro connected to Influencer Hero (helpdesk guide)

  • Admin / server access to your Magento 2 store (to install a Magento extension)

Helpful references:

  • GoAffPro guide: Install on Magento 2 store Goaffpro

Step 1 - Connect GoAffPro in Influencer Hero (if you haven’t yet)

  1. In Influencer Hero, go to Integrations (https://app.influencer-hero.com/integrations)

  2. Find GoAffPro → click Connect

  3. Paste your GoAffPro access token / API key → Connect (helpdesk guide)

Note: Influencer Hero has an official partnership with GoAffPro for integration purposes. If you purchased GoAffPro specifically to use with Influencer Hero, please contact your Influencer Hero account manager to arrange a subscription reimbursement.

Step 2 - Install GoAffPro on your Magento 2 store

GoAffPro provides a Magento 2 extension. There are two common installation methods. You can also refer to the GoAffPro docs for the installation process.

Method A (recommended) - Install via Composer

  1. SSH into your server and go to your Magento install directory

  2. Run the commands shown in GoAffPro’s guide:

composer require goaffpro/affiliatemarketing:1.0.0 bin/magento-cli setup:upgrade bin/magento-cli cache:flush

Tip: On many Magento installs the CLI command is bin/magento. If bin/magento-cli doesn’t exist on your server, replace it with bin/magento.

Method B - Install via ZIP upload

  1. Download the ZIP from GoAffPro’s Magento install page

  2. Copy the contents into your Magento directory under /app/code

    • Example structure: /app/code/Goaffpro/AffiliateMarketing/...

  3. Run:

bin/magento-cli setup:upgrade bin/magento-cli cache:flush

Step 3 - Finish setup in GoAffPro

Once the extension is activated:

  • Log in (or sign up) to your GoAffPro merchant account

  • Follow the on-screen steps to complete the Magento store connection in GoAffPro

Step 4 - Create tracking links (and discount codes) for influencers in Influencer Hero

After Magento is connected in GoAffPro:

  1. Open the influencer’s page in Influencer Hero

  2. Create a tracking link and use the Product URL you want them to promote

  3. Influencer Hero will generate a trackable link through GoAffPro

  4. Share that link with your influencer

Optional: If you want to track via coupon codes as well, enable coupon features in GoAffPro and then create/assign codes for your influencers (GoAffPro supports both referral links and coupon-code tracking).

Troubleshooting

Magento integration installed, but no tracking data appears

  • Confirm the GoAffPro Magento extension is installed and enabled, then flush Magento caches.

  • Confirm your Magento store is fully connected inside GoAffPro (post-install “Next steps”)

  • If you changed coupon settings in GoAffPro, you may need to regenerate/update coupons depending on your setup.

Did this answer your question?