> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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**:<img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/09b8607e.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=cb1bd333017ed9197a9c58fde40e899a" alt="" width="2874" height="1498" data-path="images/articles/integrate-ecwid/09b8607e.webp" />

***

### 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:<img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/ce592f3f.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=e6d77d2863db4d2e0d066174e37360db" alt="" width="2876" height="1496" data-path="images/articles/integrate-ecwid/ce592f3f.webp" />
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:<img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/e0f5d531.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=3cca2ce4613dc8fd048d77a56d79108e" alt="" width="2876" height="1502" data-path="images/articles/integrate-ecwid/e0f5d531.webp" />
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.

#### <img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/2a29bb52.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=45c0f428e8fda6f33110a3af97658392" alt="" width="2878" height="1494" data-path="images/articles/integrate-ecwid/2a29bb52.webp" />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.

<img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/23855b24.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=b0bc38b09bf00164e5a237f60562bcea" alt="" width="2872" height="1496" data-path="images/articles/integrate-ecwid/23855b24.webp" />

#### Method 3: Webhooks

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

<img src="https://mintcdn.com/partnero/U-Ywbk_C0k4DQ_nm/images/articles/integrate-ecwid/e6a51efc.webp?fit=max&auto=format&n=U-Ywbk_C0k4DQ_nm&q=85&s=c5011f0cae9f77ac59cb52e3a19477f3" alt="" width="2878" height="1500" data-path="images/articles/integrate-ecwid/e6a51efc.webp" />

***

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.