Integrate Ecwid

This guide explains how to integrate Partnero into your Ecwid e-commerce store to track referral-driven sales and customers.

These instructions can also be found on your Partnero account, under   Integration > Guides tab > Ecwid:


Step 1: Start tracking website visitors

To track visitors on your website, you need to install the PartneroJS snippet as custom code.

Install the PartneroJS Snippet

  1. Go to Integration > Guides tab > Ecwid. Click Instructions.
  2. Copy the PartneroJS snippet:
  3. Log in to your Ecwid Control Panel.
  4. Navigate to Settings → General → Tracking codes.
  5. In the Head tracking code section, paste the PartneroJS snippet.
  6. Click Save to apply the changes.

Alternative method: If you have a website hosting your Ecwid store, add the script to your website's header instead.


Step 2: Customer sign-up tracking

⚠️  Important: You must track customer signups with partner attribution before transaction tracking with payment processors.

To track customer registrations:

  1. On Partnero, copy the customer signup tracking snippet:
  2. Paste the script to your customer registration or account creation pages. Make sure to replace the customer data with actual values from your registration form. This script captures the partner attribution from the partnero_partner cookie.

Step 3: Transaction tracking

Partnero offers three transaction tracking methods, each with unique instructions. Select one that works best for your setup and follow the instructions provided in the Ecwid integration guide under  Integration > Guides tab > Ecwid

Method 1: Payment processor integration

Recommended: If your Ecwid store uses Stripe, Paddle, or Chargebee for payment processing, connect your payment processor directly to Partnero.

Prerequisite: Customer signup tracking (above) must be implemented first.

Method 2: JavaScript Tracking

Track purchases by adding JavaScript code to your Ecwid checkout completion. Use this method if payment processor integration is not available.

Method 3: Webhooks

For the most reliable tracking when payment processor integration isn't available, use webhooks to receive order notifications from Ecwid automatically.


Your integration with Ecwid is now complete! We strongly recommend testing the integration by purchasing through an affiliate link.