Bubble apps are full web applications built without code: sign-ups, logins, dashboards and payments. That makes signed-in users the natural link between traffic and revenue, and Reveata uses it.
What you get
- Every page view. Go to page actions load a new page, and in-page changes go through the browser's History API, which the script follows.
- Stripe plugin payments as revenue, from your own Stripe account, live payments only.
- Payments credited to visits of users you identify by id and email.
- Goals from workflows, with the Run javascript action.
How to install it
- In the Bubble editor, open Settings → SEO / metatags and paste the snippet into Script/meta tags in header.
- Keep
data-exclude-paths="/version-test*"on the tag so visits to your development version stay out of your numbers. - Deploy to Live. Header scripts change with the next deployment, and Bubble's free plan ignores them.
Bubble's own documentation is in the Bubble manual (opens in a new tab).
How payments are matched to visits
Bubble's Stripe plugin charges through your own Stripe account, so connect the same account in Reveata (Stripe revenue analytics). Payments made on Live count; test-mode payments from the development version are not imported.
The checkout carries no visitor id, so identify signed-in users. Add a workflow on Page is loaded (only when Current User is logged in), or after Sign the user up and Log the user in, with the Toolbox plugin's Run javascript action calling reveata('identify', …) with the user's unique id and email. A Stripe payment with the same email is then credited to that user's visits, including the one that first brought them. The workflow code is in the Bubble install guide.
Stripe Payment Links opened from a link element are credited with no code (Stripe Payment Links analytics).
Limits and common mistakes
- Quotes in dynamic values. An email or name with a quote breaks the code. Use Bubble's :formatted as JSON-safe and drop the surrounding quotes.
- Not deployed. The live app keeps the old header until you deploy.
- Users who never sign in. Their payments still count, but stay unattributed.