Event names: lead, sale, install and your own
What lead, sale and install mean in Brevily, how to name events of your own, and what an event can carry: an amount, properties and an id.
On this page
Every event your site or app reports to Brevily has a name: it is the last part of the report's address, as in …/events/sale. Three names have a fixed meaning, and any other name is yours to choose. This guide covers what each means, where it may come from and what it can carry.
Before you start: see track sales from a link for switching on Track events, and event attribution for which link an event is credited to.
The three built-in names
lead: someone became a prospect, such as a sign-up, a form or a demo request. Your server, a web page or your app may report it.sale: someone paid. Only your server reports a sale, with its amount and currency, so nobody can fake one from a browser.install: your app was installed and opened from the link. Your app reports it against the click it was given, for a link whose deep link opens that app.
These are conventions, not rules: Brevily takes them as any other name, and Analytics › Events counts each name on its own.
Names of your own
Use any name for the moments that matter to you, such as trial_started, renewal or plan.upgrade. A name is 1 to 64 letters, digits and _ . : -. Keep one spelling per moment: signup and sign_up count as two events.
What an event can carry
- An amount and its currency. The amount is in the currency's smallest unit, so 6490 in USD is $64.90. Revenue is summed per currency and never converted. Only your server sends an amount.
- Properties. Up to 15 names with a value each, such as
planorseats. They are kept with the event and sent to webhooks and GA4. - Your id. An order or sign-up number. A report sent twice with the same id counts once. Without one, a click counts each event name once, and a repeat updates its amount and time.
- The customer. Your id for the person, never an email address. It ties their later events to their clicks.
Where an event comes from
Each event shows its source in Analytics › Events:
- Server: your backend, with a secret API key. Every name, amounts included.
- Website: a web page, with a website key that works only from your own sites. Never a sale or an amount.
- App: your mobile app, with its own key. Never a sale or an amount.
Events in Google Analytics 4
An event sent on to GA4 arrives under its own name, with . : - turned into _ and cut to 40 characters. GA4 reserves some names, such as session_start, and drops events sent under them, so Brevily sends such an event as brv_<name>. Choose names GA4 doesn't use.
Is opening the app an event?
No. When your app asks Brevily to open a link it was opened with, that open is counted as a click, the same as a visit in a browser, and it never uses up events. The install your app reports afterwards is the event.
Next steps
- Event attribution: first touch, last touch and the window.
- Event tracking by link for developers: the calls, from a server, a page and an app.
- Short link clicks in GA4: send clicks and events into your property.
On this page