Skip to guide
Macaron Docs

Website analytics and app identity

Use your own app icon and collect website visits only after the owner enables analytics.

Use your own identity

Macaron discovers a website favicon during its public page check and caches a small PNG. The app list, app header, selected app browser tab and customer chat use that icon. In App settings, set Logo URL to override it with a public HTTPS PNG, SVG, JPEG or WebP image under 256 KB. Native apps can set the same logo URL. Clearing an override restores website discovery on the next page check. Private images, active SVG and private network URLs are rejected.

Enable visits and page views

Open Apps, choose your website, then Analytics. Collection is off by default. Choose Enable analytics to authorize collection for the saved website origin. Install the same Macaron website snippet used for customer chat; analytics can run even when chat is off. Open the website and return to Analytics to see its first eligible event. No history is backfilled, and adding a website URL alone does not provide traffic data. Disable analytics to reject new events immediately. Changing the website address also turns collection off until you enable it again.

Understand the numbers

Choose 7 or 30 days for visits, page views, daily totals, top page paths and referring hostnames. A visit counts one browser tab per UTC day, not one person. SPA pathname changes and restored pages count as page views; query-only changes do not. Blockers, hidden pages and privacy settings can reduce counts. Visit counts are a lower bound after 10,000 tabs per app per day. Support conversations, report activity, link opens and verified Stripe paid totals are shown separately as all-time support outcomes; link opens are not purchases and these metrics are not a conversion funnel.

Turn on the website report

In Analytics, choose Turn on the report. It shows visitors, how many left after one page, visit length and who is online, split by channel, source, campaign, country, page, entry page, browser, system and device. Pro adds revenue, conversion rate and revenue per visitor to every row. Choose any row to see only those visitors. Where visits end lists pages many visits stop on, leaving out visits that paid or reached your goal; Work on it starts a change with that page filled in. The report starts from the day you turn it on: nothing is backfilled.

See which source brought the money

Money by source is part of Pro; new accounts have it free for 14 days. Payments are matched while you are on Free too, so they are there when you upgrade. Connect Stripe in Revenue, then pass the visit to Stripe at checkout: call await window.MacaronSupport.visitId() in the browser, and set it as macaron_visit in payment_intent_data.metadata for one-time payments or subscription_data.metadata for subscriptions. Imports run hourly. A payment is matched only to the visit it names, or, for a renewal, to the one its customer first paid from; everything else is shown as source unknown and never guessed. If the visitor agreed to analytics, their first visit in the last 30 days gets the credit. Revenue covers the whole connected Stripe account. RevenueCat totals are not split by source.

What the report keeps

While the report is on, each visit keeps its source, campaign tag, page paths, approximate country, and kind of device, browser and system for 60 days. Country comes from the browser time zone unless your host reports one. Addresses and user agents are read to work these out, and to count a visitor once a day with a salt deleted the next day, and are not stored. A visitor who agreed to analytics gets a random ID in their browser for 30 days; withdrawing consent removes it. Payment amounts, dates and their source are kept 13 months with hashed Stripe IDs, never names, emails or card details. Say this in your privacy notice. Turn off and delete report data removes all of it.