Skip to content
DocsAnalytics & reports
ANALYTICS & REPORTS

Set up Revenue tracking

Register your website, install one tracker, connect consent, and verify visits and orders using the right data source.

4 min read6 sectionsUpdated September 14, 2026
Open Revenue setup
01

Register your website

Open Revenue and enter the website or store address you want to measure. Continue to setup to open the installation screen for that site.

Registering the domain does not install tracking. Collection starts only after the script is installed and the required analytics consent is granted.

Use the selected site’s snippet

Setup provides the public site key and script URL for your registered website. Copy these from your own workspace rather than another site or a generic example.

02

Choose one installation method

Setup provides HTML, Shopify, Tag Manager, and Next.js options. Choose the method appropriate for your website, or use Copy installation prompt to give your coding assistant the site-specific instructions.

Choose one installation method
PlatformWhere it goes
HTMLThe shared template used by the pages you want to measure.
Next.jsThe application layout, using the provided Script component example.
Tag ManagerA Custom HTML tag with the appropriate page trigger.
ShopifyThe storefront theme. Orders need a separate integration.
Install only once

Do not install the same tracker both in your application and through Tag Manager. Duplicate installation can create duplicate page views.

04

Choose how orders are reported

A page-view script cannot infer payment totals or refunds. E-commerce tracking needs an explicit order integration; a site without sales may only need visit tracking.

Choose how orders are reported
Order sourceHow it worksVerification
Browser confirmationReport the completed order from your confirmation page.Unverified / browser reported
Signed server eventSend the confirmed payment from your backend using the signing instructions in Setup.Server verified
ShopifyConfigure the supported Order payment webhook and signing secret; add refund handling as described in Setup.Verified Shopify events
Use a stable order ID

Report actual completed orders with their real currency and amount. Reuse the same order ID on retries. Keep server signing secrets on the server; they do not belong in browser code.

05

Verify the installation

Use a separate test site for synthetic purchases so you do not contaminate production reporting.

  1. Check that the script URL from Setup loads successfully with HTTP 200.
  2. Grant analytics consent on the website and navigate to another page.
  3. Check that the collection request is accepted and Setup shows received activity.
  4. Review Visitors for the selected site and period. If an automated test is missing, check Show crawler traffic.
  5. For a store, confirm a test order through the chosen integration and inspect Transactions.
  6. Repeat the same test order ID and confirm it does not add a second order.
  7. Check the order’s verification label and test any refund integration you installed.
06

Diagnose missing or different numbers

If visits are missing, check the selected site, actual installed site key, consent, script loading, date range, and crawler filter first.

If visits arrive but sales do not, inspect the order integration. The storefront script alone does not mean that order reporting is configured.

If Meta and Revenue disagree, compare their date ranges and measurement methods. Meta’s attributed conversions and the website ledger are distinct sources; neither should be silently substituted for the other.

Keep the setup guide close

The Revenue workspace includes detailed installation documentation and site-specific snippets. Use those for exact server signing and platform configuration steps.