Skip to content
E-commerce and courses

Easytools analytics with sales matched to visits

2 min read · Updated · By the Reveata team

Short answerReveata has no direct Easytools integration, but your Easytools sales can reach it when you forward Easytools webhooks to the Payments API. Identify visitors by email on your site and each sale is credited to their visits.

Easytools (opens in a new tab) (often called Easytool) sells digital products and subscriptions through hosted checkout pages. Those pages are hosted by Easytools and don't run the Reveata snippet, and an Easytools checkout can't carry the visitor id. The buyer's email bridges the gap.

What you get

  • Visits on your own website and landing pages, the pages that send people to checkout.
  • Easytools sales as revenue, from Stripe or from webhooks.
  • Sales credited to visits of buyers you identified by email, under your attribution model, including the visit that first brought them.

Route 1: connect the Stripe account behind Easytools

Easytools charges through your own Stripe account (Store settings in Easytools shows which). Connect the same account in Reveata (Stripe revenue analytics). Reveata imports the last 12 months, then new payments within seconds, with renewals counted as renewals and refunds subtracted. Everything else that Stripe account takes is imported too, so this works best when the account is used only for Easytools.

Route 2: forward webhooks to the Payments API

In Easytools, open Store settings → API & Webhooks and send the events single_product_bought, subscription_created and subscription_renewed to a server function you control. According to Easytools' list of webhook events (opens in a new tab), each event is a flat JSON object with event, order_id, amount_paid, currency and customer_email. Your function posts those to the Payments API with a website key.

Reveata expects amounts without tax. If you charge VAT on top, send the amount before tax, and compare one test delivery with the order in Easytools before you go live. Verify the webhook signature with the signing key Easytools gives you.

Linking sales to visits

Identify people when they join your list or start a trial on your site:

js
reveata('identify', { email: form.email.value });

A sale with the same email is credited to that visitor. One that arrives first is retried every hour for 90 days. If buyers land on a thank-you page on your own site, reveata('payment', { email }) there links the sale too.

Limits

  • A buyer who pays with another email than the one they gave on your site stays unattributed; the sale still counts as revenue.
  • Use one route per sale. Stripe plus webhooks for the same sales counts each sale twice.
  • Payments in Stripe's test mode are not imported from a live connection.

Frequently asked questions

Which route should I pick?

Stripe is less work and includes refunds. Webhooks suit you if the Stripe account also takes payments for other things you don't want in this website's revenue.

Why is a sale showing without a source?

Its email doesn't belong to any visitor you identified yet. Identify buyers before checkout, and the sale is linked as soon as a match exists, within 90 days.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?