Skip to content

Revenue from Podia

View as Markdown

How Podia sales can be counted and credited to visits in Reveata, through the buyer's email.

On this page

Reveata has no Podia integration, and the visitor id cannot be added to a Podia checkout. Podia sales can still be counted and credited to visits through the buyer's email. Here is what works, and what doesn't. To track visits first, see Install on Podia.

Step 1: get the sales into Reveata

Choose one of these. Don't use both for the same sales, or each sale is counted twice.

Your Stripe account. If Podia pays you through a Stripe account you own, connect that account in Reveata's Settings → Payments (restricted key or Connect with Stripe). Check first that your recent Podia sales appear in your Stripe dashboard: sales paid another way (PayPal, for example) are not in Stripe and won't be imported. Reveata imports the last 12 months, then new sales within seconds, with renewals of memberships counted as renewals.

The Payments API. If you receive a notification for each Podia sale on a server you run, post it to the Payments API with a unique transactionId, the amount without tax, the currency and the buyer's email:

bash
curl -X POST https://reveata.com/api/v1/payments \
  -H "Authorization: Bearer $REVEATA_SITE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "transactionId": "podia_1042",
    "amount": 49.00,
    "currency": "USD",
    "email": "[email protected]"
  }'

Sending the same transactionId again does nothing, so retries are safe.

Step 2: credit sales to visits

Reveata links a sale to a visit when the buyer's email belongs to a visitor you identified. Identify people where they give you their email on a page that runs the Reveata snippet, typically an email signup or lead magnet form on your own site:

js
// in the submit handler of your form
window.reveata('identify', { userId: email, email: email });

The sale is then credited to that visitor's visits under your attribution model, including the one that first brought them. Sales that arrive before the person is identified are retried every hour for 90 days. Browser identify calls are trusted for this by default (Match payments using browser identify calls in Settings → Payments).

See Identify visitors, and only identify people when your privacy policy covers it.

Limits

  • Buyers who never gave their email on a page with the snippet stay unattributed. Their sales still count in your revenue totals.
  • Visits to your Podia pages are tracked when the snippet is on them, but a purchase made on Podia's checkout can't carry the visit itself: the email is the only link.
  • If someone uses a different email at checkout than in your form, the sale can't be matched.

Check it works

  1. Open your site in a private window from a link ending in ?ref=test, and sign up through your form.
  2. Buy a cheap product with the same email (refund it afterwards if you like).
  3. Within the hour, the sale appears under Revenue with the source test.

Was this helpful?