plugin-icon

FirstPromoter

Integrate FirstPromoter's affiliate tracking with WooCommerce, OptimizePress, Contact Form 7, and MemberPress.
Version
0.2.1
Last updated
Nov 28, 2025
FirstPromoter

FirstPromoter for WordPress allows you to easily integrate FirstPromoter’s affiliate tracking scripts with your WordPress website.

With this plugin, you can track referrals, registrations, and sales across your website, with special integrations for popular platforms.

Features

  • Add FirstPromoter tracking to your WordPress site
  • WooCommerce integration – track new account registrations and checkouts
  • OptimizePress integration – track form submissions
  • Contact Form 7 integration – track form submissions with email capture
  • MemberPress integration – track member signups, transactions, and recurring payments
  • Cross-domain tracking support
  • Automatically send sales data to FirstPromoter (WooCommerce, MemberPress)
  • Automatic refund and cancellation tracking (WooCommerce)
  • Track recurring subscription payments (MemberPress)

WooCommerce Integration

When enabled, the WooCommerce integration allows you to:

  • Capture emails when users create new accounts
  • Capture emails at checkout
  • Automatically send sale information to FirstPromoter
  • Track refunds and generate negative commissions
  • Track order cancellations and update customer status

OptimizePress Integration

The OptimizePress integration tracks form submissions and captures emails for referral tracking.

Contact Form 7 Integration

When enabled, the Contact Form 7 integration allows you to:

  • Track form submissions automatically (all forms tracked)
  • Capture email addresses from any field containing “email” in its name
  • Attribute form leads to the correct referral source
  • Requires API key – uses server-side tracking

MemberPress Integration

When enabled, the MemberPress integration allows you to:

  • Track new member signups and registrations (always enabled)
  • Automatically send transaction data to FirstPromoter (requires API key)
  • Track recurring subscription payments (requires API key)
  • Associate members with their referral source
  • API sale tracking uses prefixed user IDs (“mepr-“) to prevent conflicts

Important: If you’re using FirstPromoter’s Stripe integration, only enable signup tracking. Leave sale tracking OFF to avoid duplicate sales.

Configuration

After activation, you’ll find a new menu item in your WordPress admin dashboard labeled “FirstPromoter”.

Base Configuration

  1. Navigate to the FirstPromoter settings page in your WordPress admin
  2. Enter your FirstPromoter Account ID (required)
  3. Enter your API key (required for most integrations – see below)
  4. If you want to track across multiple domains, enter them in the Cross Domain field, separated by commas
  5. Click “Save” to store your settings

API Key Requirements

The FirstPromoter API key is required for the following features:

  • Contact Form 7 integration (all tracking)
  • WooCommerce sale tracking
  • MemberPress sale tracking
  • MemberPress recurring payment tracking

The following features work without an API key:

  • WooCommerce signup tracking
  • WooCommerce checkout email capture
  • OptimizePress integration
  • MemberPress signup tracking (without sales)

You can find your API key in your FirstPromoter dashboard: Settings > Integrations > Manage API keys

Integration Settings

The plugin supports multiple types of integrations:

  1. WooCommerce Integration: Track new account registrations and checkouts
  2. OptimizePress Integration: Track form submissions
  3. Contact Form 7 Integration: Track contact form submissions with email capture
  4. MemberPress Integration: Track member signups, transactions, and recurring payments

Enable the integrations that apply to your website and configure their specific settings.

External Services

This plugin connects to FirstPromoter’s external services to provide affiliate and referral tracking functionality. It’s essential for the plugin’s operation to track referrals, registrations, and sales.

FirstPromoter Tracking Service

What it is: FirstPromoter’s affiliate tracking platform that monitors referral activity and conversions.

What data is sent: – Email addresses (for referral tracking) – User IDs (when available) – Order information including amount, order ID, and coupon codes (when WooCommerce sales tracking is enabled) – Page visit information for referral attribution

When data is sent: – Every time a page loads (for referral attribution via JavaScript tracking) – When users register or create accounts (if integration is enabled) – When purchases are completed (if WooCommerce integration is enabled) – When custom tracking events are triggered

Service provider: FirstPromoter (https://firstpromoter.com) – Terms of Service: https://firstpromoter.com/terms – Privacy Policy: https://firstpromoter.com/privacy – API Documentation: https://docs.firstpromoter.com/api-reference-v2/

FirstPromoter CDN Service

What it is: Content delivery network that serves the FirstPromoter tracking JavaScript library.

What data is sent: Standard web request data (IP address, user agent, referrer)

When data is sent: On every page load where tracking is active

Service details: – CDN URL: https://cdn.firstpromoter.com/fpr.js – v2 API Endpoints: https://api.firstpromoter.com/api/v2/track/* – This is required for the tracking functionality to work

Technical Details

This plugin works by adding the FirstPromoter tracking script to your website and handling various trigger points for tracking registrations, checkouts, and custom events. The plugin:

  1. Adds the base FirstPromoter tracking script to all pages
  2. Captures and tracks user emails at registration and checkout (when enabled)
  3. Supports cross-domain tracking
  4. Can send WooCommerce sales data directly to FirstPromoter’s API
Freeon Business plan
Tested up to
WordPress 6.8.3
This plugin is available for download for your site.