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
- Go to Integration > Guides tab > Ecwid. Click Instructions.
- Copy the PartneroJS snippet:
- Log in to your Ecwid Control Panel.
- Navigate to Settings → General → Tracking codes.
- In the Head tracking code section, paste the PartneroJS snippet.
- 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:
- On Partnero, copy the customer signup tracking snippet:
- 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
Method 1: Payment processor integration
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.