Skip to main content
Restrict Content Pro → AmplitudeIntegration guide

Connecting Restrict Content Pro to Amplitude

Restrict Content Pro gates WordPress content behind memberships, which means the conversion is a subscription and the content is the product — with no shipping, no fulfilment and pure margin. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the RCP membership before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Restrict Content Pro to Amplitude: revenue on the WordPress user ID

Join on the WordPress user ID: call setUserId with it in the browser and use it for server events. Send membership-started with level as productId, plus a revenue event per Restrict Content Pro renewal marked by revenueType, sent from the server because gateways bill without a session. Set insert_id to the RCP payment ID so webhook retries don't duplicate.

Amplitude suits a content membership because tenure is the whole economics, and the question it answers is which content and which acquisition sources keep members paying. The join key is the WordPress user ID, which RCP ties every membership to. Call setUserId with it in the browser SDK on every logged-in page and use the same ID when posting server events from RCP, so reading behavior and payments sit on one person.

Send a membership-started event when a paid RCP membership activates, with the membership level as productId and price and quantity set, and a revenue event for each renewal payment as RCP records it, with revenueType marking it as a renewal. Send cancellation and expiry as their own events with the level and days active. Free levels and trials become separate non-revenue events, so trial-to-paid is a funnel rather than a guess.

What breaks: renewals are charged by Stripe or PayPal in the background and RCP records them without a browser session, so any setup that relies on the browser SDK for revenue will show every member churning after month one. Revenue has to come from the server. Set insert_id from the RCP payment ID so a gateway webhook retry does not create a phantom renewal spike.

Restrict Content Pro → Amplitude · what breaks

Why this join usually fails — Restrict Content Pro → Amplitude

  1. 01

    The user ID and device ID pair never reaches Restrict Content Pro

    Registration runs on your own WordPress site, which is an advantage, but renewals arrive silently with no session.

  2. 02

    Tenure value assumed rather than measured

    Content memberships churn at rates that vary enormously by niche. Using a generic figure for lifetime value will either starve a channel that works or overfund one that does not.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Restrict Content Pro → Amplitude · the fix

What working looks like — Restrict Content Pro → Amplitude

  • The user ID and device ID pair on every membership

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Restrict Content Pro → Amplitude · architecture

How Restrict Content Pro and Amplitude actually connect

  1. 1

    Restrict Content Pro holds the truth

    Content memberships have near-zero marginal cost, which makes lifetime value the whole economics and churn the only variable that matters.

  2. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the RCP membership.

  4. 4

    The event source decides reliability

    Send new memberships at a tenure value from your own churn data; renewals belong in retention.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Restrict Content Pro → Amplitude · normal or broken

Working vs. broken, side by side — Restrict Content Pro → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the membership

  • Sent from the RCP membership record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair missing on most records

    Registration runs on your own WordPress site, which is an advantage, but renewals arrive silently with no session.

  • Sent from the browser

    Content memberships churn at rates that vary enormously by niche. Using a generic figure for lifetime value will either starve a channel that works or overfund one that does not.

  • Counted twice, or not at all

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Restrict Content Pro → Amplitude · diagnose

Diagnostic order — Restrict Content Pro → Amplitude

  1. 01

    Count memberships carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Calculate median membership length from your own cancellations

    One query, and it sets every acquisition decision that follows.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Restrict Content Pro → Amplitude · prove

How it gets proven — Restrict Content Pro → Amplitude

Source of truth

RCP memberships by start date, split into new subscriptions and renewals.

  • The user ID and device ID pair confirmed present on a live membership.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • New memberships reconciled at a defensible tenure value against imported conversions.

Restrict Content Pro → Amplitude · free audit

What we check in the free audit

  • Count memberships carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Calculate median membership length from your own cancellations
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

RCP memberships by start date, split into new subscriptions and renewals.

Get my free conversion tracking audit

Free30 minutesNo obligation

Restrict Content Pro → Amplitude · when not to buy

When you don't need this — Restrict Content Pro → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the user ID and device ID pair.
  • New sites without churn history should report first-period revenue only rather than guessing a lifetime.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Restrict Content Pro → Amplitude · what we deliver

What gets built — Restrict Content Pro → Amplitude

  • Identifier capture into Restrict Content Pro

    Capture on landing and store on the member record so renewals can be recognised as renewals.

  • Event source: the RCP membership record

    Send new memberships at a tenure value from your own churn data; renewals belong in retention.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against RCP memberships by start date, split into new subscriptions and renewals.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Restrict Content Pro → Amplitude questions, answered

From your server when RCP records the renewal payment, under the WordPress user ID, with price and revenueType set. The browser SDK never sees background renewals.

Free · 30 min

Get Restrict Content Pro and Amplitude joined properly

Free30 minutesNo obligation