Documentation Index
Fetch the complete documentation index at: https://docs.firstpromoter.com/llms.txt
Use this file to discover all available pages before exploring further.
Difficulty: Easy Developer Required: No
FirstPromoter has a dedicated WordPress plugin that handles click tracking, referral tracking, and sales tracking with built-in support for WooCommerce, MemberPress, Contact Form 7, OptimizePress, custom forms, URL-based email capture, and payment links.
Installing the plugin
- Log in to your WordPress admin dashboard.
- Go to Plugins → Add New.
- Search for “FirstPromoter” in the search bar.
- Click Install Now, then Activate.
Base configuration
Once activated, go to FirstPromoter in the WordPress admin sidebar.Account ID
Required for the tracking script to work on your site.- In your FirstPromoter dashboard, go to Settings → Integrations.
- Copy your Account ID and paste it into the Account ID field in the plugin settings.
API Key
Required for sale tracking (WooCommerce, MemberPress, Contact Form 7).- In your FirstPromoter dashboard, go to Settings → Integrations → Manage API keys.
- Copy your API key and paste it into the API Key field in the plugin settings.
Cross-domain tracking (optional)
If you have multiple domains that need to share tracking data, enter them as a comma-separated list in the Cross-domain tracking field.Force tracking for ad-blockers (optional)
Enable Force tracking even in privacy browsers or with ad-blockers to use a server-side fallback that keeps referral attribution working when the client-side script is blocked.Integrations
WooCommerce
The plugin automatically tracks WooCommerce account registrations, checkouts, refunds, and cancellations. Signup tracking — Enable Capture email on new account creation and/or Capture email on checkout to record the customer’s email when they register or complete a purchase. No API key required. Sale tracking — Enable Send sale to FirstPromoter on checkout to send order data (amount, order ID, coupon codes) to FirstPromoter when an order is marked as processing or completed. Requires an API key. The plugin also handles:- Refunds — automatically generates a negative commission when an order is refunded.
- Cancellations — updates the customer’s status in FirstPromoter when an order is cancelled.
MemberPress
Signup tracking — Member registrations are captured automatically when the integration is enabled. No API key required. Sale tracking — Enable Track sales/transactions via API to send transaction data to FirstPromoter. Requires an API key. Enable Track recurring payments via API to track subscription renewals. Requires an API key.If you are already using FirstPromoter’s native Stripe integration to track payments, leave MemberPress sale tracking disabled to avoid duplicate commissions being recorded.
Contact Form 7
Enable Contact Form 7 tracking to automatically capture form submissions and send them to FirstPromoter. The plugin auto-detects email fields — any field with “email” in its name is captured. Requires an API key.OptimizePress
Enable OptimizePress tracking to capture form submissions from OptimizePress pages. No API key required.Custom form tracking
Track email submissions from any form on your site using CSS selectors.- Enable Custom Form Tracking in the plugin settings.
- For each form, enter:
- Email input selector — CSS selector for the email field (e.g.
input[name="email"]). - Submit selector — CSS selector for the submit button or form element (e.g.
button[type="submit"]).
- Email input selector — CSS selector for the email field (e.g.
- To track multiple forms, check I have multiple forms to track and add additional selector pairs.
URL email capture
Useful when an external checkout or funnel redirects back to your WordPress site with the customer’s email in the URL (e.g. a thank-you page).- Enable URL Email Capture in the plugin settings.
- Enter the Email URL Parameter Key — the query parameter name that contains the email.
- Example: for
/thank-you?email=user@example.com, enteremail.
- Example: for
- (Optional) Enter the UID URL Parameter Key if your platform also passes a user ID.
- Example: for
/thank-you?email=user@example.com&uid=12345, enteruid.
- Example: for
Payment links
Automatically appends the FirstPromoter tracking ID to payment links on your pages as theclient_reference_id parameter, so conversions through direct payment links are attributed to the right affiliate.
- Enable Payment Links in the plugin settings.
- Enter the Payment Link URL Prefix — links starting with this value will be updated automatically. Defaults to
https://buy.stripe.com/. Use a comma to separate multiple prefixes.
This integration is for direct payment links embedded on your WordPress pages. If you are not placing
buy.stripe.com links (or equivalent) directly on your site, this integration is not needed.