Events & Conversions
See what people do after they click your links — sign-ups, purchases, any event your app or website sends — and which links and campaigns drive them.
The Events page has two tabs:
- Conversions — the events you've marked as goals, reported by the link (or campaign) that brought the user. This is the view for anyone asking "which links are working?"
- Live — every event as it arrives, app or web, with its properties. This is the view for confirming your instrumentation fires.
Both tabs are available on every plan, bounded by the plan's data retention. Paid plans add real-time auto-refresh — the page polls for new data every 30 seconds.
Conversions
Choosing goals
A goal is any event you mark as a conversion. Click Choose goals on the Conversions tab (it is also the setup prompt when none is chosen), tick the app and web events that matter, and save. The same mark is the Conversion goal checkbox on each event in the Event Library (Assets → Event Library), where you can also give a goal a value per completion — used only when the event carries no revenue of its own, so a signup can be worth 5 without the app sending an amount.
Goals are one list for the whole workspace, and they define "conversion" everywhere the dashboard uses the word:
- Events → Conversions reports only goals.
- Web Traffic, a link's Web tab and the monthly report count only web goals as conversions. The Web tab's goal picker edits the same list.
- A link's Goals & Revenue card and funnel list only app goals as their down-funnel steps. Revenue figures there stay money over every event.
Until you mark a goal on a surface, every event counts there, as it always has: every pixel conversion event on the web, every app event on link pages. Marking your first goal narrows those pages to goals; clearing every goal puts the default back. Events that are not goals still appear in the Live feed, the screen flow and the Event Library — being a goal is about what counts as a conversion, not about what is kept.
What the table shows
One row per link, or per campaign, source or medium (the Group by control). For each row:
| Column | Description |
|---|---|
| Clicks | Human clicks on the link in the period (bot clicks are excluded) |
| One column per goal | Completions of that goal credited to the row |
| Rate | Installs and web sessions that completed any goal ÷ clicks, capped at 100% |
| Value | Revenue on the completions, else the goal's configured value, per currency — never summed across currencies |
| Time to convert | Median time from the credited click to the completion, where the click is still on record |
A link with clicks and no completions still appears — that's the point of a conversion table. Click a link to open its funnel on the Analytics page.
The tiles above the table are the same figures for the whole period, and the Conversions over time chart shows completions per day, one line per goal.
Click a day on the chart to open it under the chart, under the same goal and project filters: completions, converters, value, the busiest hour and the day's completions with no link; completions per hour by goal; the links credited, with their value; and every credited completion that day, newest first (time, goal, link, value, time after the click). Back to the full period brings the breakdown and the table back. API: GET /api/analytics/conversions/day?date=YYYY-MM-DD with the tab's projectId and goal.
How a completion is credited
Every figure on this tab is link-attributed:
- An app event is credited to the link that last opened the app, or else to the link that drove the install (last-click attribution — the same rule as every revenue figure in LinkForty).
- A web event is credited to the link whose click brought the session. Visits that merely carry the same UTM tags as a link are not counted.
- A completion is counted on the day it happened, whenever its click was — a purchase today from a click last month counts today.
Completions with no link anywhere (an organic app event, a visit that didn't come through a tracked click) are not in the table. They are counted beside the Conversions tile ("+N with no link · M in total"), and when nothing was credited to any link the page says so above the table: how many of each goal happened anyway and where to see them (Web Traffic → All Data for web events, the Live tab for app events). If no goal event arrived at all, the page says that instead, which is an instrumentation question before it is an attribution one.
When grouping by campaign, source or medium, the value comes from the credited click. If that click is no longer on record (clicks age out with your plan's retention) the credited link's own UTM parameters stand in.
Breakdown
Pick a goal and one of the properties its completions carried, and the Breakdown card shows the top ten values — purchases by plan, sign-ups by method. Completions with other values, or without the property, are counted below the chart. That is the whole breakdown: one goal, one property. For anything more, export the events or use the API.
Filters
- Group by — link, campaign, source or medium
- Goal — one goal, or all
- Project — only that project's links
- Time range — shared with the Live tab
Live
The Live tab is the firehose: every event your app or website sent in the period, organic included.
- Tiles — total events, event types, last 24 hours, revenue per currency
- Events Over Time and Top Events charts
- Event Feed — each event with its properties; expand a row for the full property grid, the credited link, the install ID and the event ID
- App / Web toggle — mobile SDK events or web pixel events
- Event name filter
- Property filter — type a property key (and optionally
= value) to see only events carrying it. Click a property chip in the feed to filter to that key and value. This is the quickest way to find your own test event: send it with a property liketest: brandonand filter on it. - Export CSV — the app events in the current window and event filter (up to 100,000 rows)
Click a day on Events Over Time to open it: the day's events, the installs (or web sessions) that sent them, how many were credited to a link, the busiest hour, events per hour, each event name (click one to filter the page) and each credited link. The Event Feed narrows to that UTC day, with its property filter and expandable rows as usual. API: GET /api/analytics/events/day?date=YYYY-MM-DD&surface=app|web&eventName=, and date= on the feed endpoints.
Tracking Events
Already have the SDK installed? This prompt adds sign-up, purchase and screen events at the right places in your app:
Show the prompt
I use LinkForty (https://linkforty.com), a deep-linking and mobile attribution platform: short links that route each click to the app, the app store or the web, and record clicks, installs and in-app events per link.
Before writing any code, read the LinkForty documentation index at https://docs.linkforty.com/llms-full.txt and the pages listed under "Docs" below. Work from what the docs say, not from assumptions about how similar products work. If something you need is not in the docs or in this prompt — an ID, a token, a URL — stop and ask me for it rather than inventing a placeholder that looks real.
## Task: send in-app events from this app to LinkForty
The LinkForty SDK is already installed and initialized in this app, and installs are being attributed. What is missing is everything after the install: the sign-ups, purchases and key actions that turn an install count into a funnel. Add event tracking so those moments are recorded against the install and the link that produced it.
If the SDK is **not** in this app, stop and tell me — installing it is a separate task with its own prompt.
## Values
- **App token**: already in the app's SDK initialization (it starts with `at_`; the dashboard shows it under Workspace Settings → App Token). Do not add it a second time or move it.
- **Event names**: chosen with me in step 2. Short, stable, lower_snake_case.
- **Money**: amount as a number plus an ISO 4217 currency code (`'USD'`), through the SDK's revenue method — never a formatted string.
## How to work
1. **Look before you change anything.** Identify the framework, its version, the navigation/router library and where the app initializes at launch. List the screens (routes) you found, and **ask me which screen each incoming link should open and what parameter it needs** — for example "a link with `productId` opens the product screen". Wait for my answer before editing; do not guess routes.
2. **Work on a new git branch.** If the working tree has uncommitted changes, stop and tell me instead of building on top of them.
3. **Follow the docs pages named below, not memory.** Package names, method names and config keys come from those pages; LinkForty's SDKs are not the same as other attribution SDKs you may know.
4. **Do not invent values.** Anything in "Values" that says "ask me" is something you ask for. Never commit a token to source.
5. **Keep the app working without a link.** A launch with no matching click must behave exactly as before: no crash, no error surfaced to the user, no blocked start-up.
6. **Finish with a summary**: every file you changed and why; the manual steps that remain for me (Apple Team ID and bundle ID, Play signing SHA-256 fingerprint, store listing, a rebuild and reinstall) and where in the LinkForty dashboard each one goes (Workspace Settings → App Configuration); and anything you were unsure about.
7. **Verify.** Run the app once, then check the LinkForty dashboard: the SDK Doctor badge in the sidebar (https://docs.linkforty.com/guides/attribution/sdk-health) should report the SDK as installed. If the MCP server is available, create a test link with `create_link` and open it on a device or simulator; the click and the deep link should reach the screen we agreed on.
## Steps
1. **Find the SDK.** Locate where LinkForty is initialized (`init` / `initialize`) and which package it is — `@linkforty/mobile-sdk-react-native`, `@linkforty/mobile-sdk-expo`, `LinkFortySDK` (Swift), `com.linkforty.sdk` (Kotlin) or `linkforty_flutter`. Every event goes through that same instance so it attaches to the install; never create a second one.
2. **Find the moments that matter** and list them with file and line: account created, onboarding finished, the first key action (whatever "activated" means in this app), purchase or subscription, and the two or three screens a new user must reach. **Ask me which to track and what to call each** before writing anything. Names are short, stable, lower_snake_case — `signup`, `onboarding_completed`, `purchase` (https://docs.linkforty.com/guides/analytics/events#event-naming-conventions). Not one event per tap.
3. **Fire each event once, at completion.** On the success path — after the account exists, after the payment is confirmed — not when a screen appears or a button is rendered. Guard against double-firing on re-render, retry or resume.
4. **Use the platform's own methods** from the SDK page (https://docs.linkforty.com/guides/analytics/events#custom-events): the track-event method for plain events with a small flat properties object; the revenue method — `trackRevenue(amount, currency, …)` — for anything with money, so the dashboard can sum it per currency (https://docs.linkforty.com/guides/analytics/events#revenue-events). No personal data in properties: no names, emails, phone numbers, precise location.
5. **Add screen views for the funnel** (https://docs.linkforty.com/guides/analytics/app-analytics): on React Native and Expo, prefer `autoTrackNavigation` with the app's `navigationRef` (screen names only — the default); on Android with Jetpack Navigation, `LinkFortyNavObserver`; otherwise `trackScreenView('ScreenName')` on the handful of screens from step 2. Never inside a render function or a hot loop — on navigation, or in the screen's appear/mount hook.
6. **Keep the app unaffected.** Event calls must not block the UI or throw into user code; the SDK queues offline and retries, so do not add your own retry layer.
7. **Verify** by running the app through the agreed flow once, then checking the LinkForty dashboard: the events on the Events dashboard, attached to the install; a purchase with its amount and currency; screens in the screen flow; and SDK Doctor showing events flowing (https://docs.linkforty.com/guides/attribution/sdk-health).
## Docs
- Events guide — custom events, revenue events, naming: https://docs.linkforty.com/guides/analytics/events
- App analytics and screen flow: https://docs.linkforty.com/guides/analytics/app-analytics
- Event Library (what the dashboard expects a name to mean): https://docs.linkforty.com/guides/analytics/event-library
- Your platform's SDK page, "Track Events" / "Track Screen Views": https://docs.linkforty.com/sdks/react-native#track-events · https://docs.linkforty.com/sdks/expo#track-events · https://docs.linkforty.com/sdks/ios#track-events · https://docs.linkforty.com/sdks/android#track-events · https://docs.linkforty.com/sdks/flutter#track-events
## Done when
- Each agreed event fires exactly once at completion, from the existing SDK instance.
- A purchase reports its amount and currency through the revenue method.
- Screen views arrive for the agreed screens without touching render paths.
- The events show in the LinkForty dashboard attached to the install, and SDK Doctor reports events flowing.
When you are done, tell me: exactly which files changed and why, how I can verify it worked end to end (what to tap or run, and what I should see in the LinkForty dashboard), and anything you were unsure about.Custom Events
Track any named event with optional properties:
import LinkForty from '@linkforty/mobile-sdk-react-native';
// Track a purchase
LinkForty.trackEvent('purchase', {
productId: 'sku-123',
category: 'electronics',
value: 49.99,
});
// Track a signup
LinkForty.trackEvent('signup', { method: 'google' });
// Track a screen view
LinkForty.trackEvent('screen_view', { screen: 'product_detail' });
Properties are what the Breakdown card reads: a signup with method can be broken down by method.
Revenue Events
Use trackRevenue() for monetary events. This method ensures a consistent format across all SDKs so the dashboard can aggregate revenue:
// Track a $29.99 USD purchase
LinkForty.trackRevenue(29.99, 'USD', {
productId: 'sku-123',
orderId: 'order-456',
});
Revenue events are stored with:
- Event name:
revenue - Event data:
{ revenue: 29.99, currency: "USD", ...properties }
Revenue is reported per currency on every page; amounts are never converted or summed across currencies. Any event carrying a revenue property counts, whatever its name, and a negative amount (a refund) is subtracted.
Event Naming Conventions
Use consistent, lowercase event names for clean analytics:
| Convention | Example | Avoid |
|---|---|---|
| snake_case | add_to_cart | AddToCart, add-to-cart |
| Descriptive | purchase_completed | event1, pc |
| Namespaced | onboarding_step_3 | step3 |
Exporting Event Data
Click Export CSV on the Live tab to download raw app events. The export respects your current time range and event name filter.
You can also export programmatically via the API:
curl "https://api.linkforty.com/api/analytics/events/export?days=30&format=csv" \
-H "Authorization: Bearer $LINKFORTY_API_KEY"
See the Event Analytics API Reference for all export options.
API Access
All dashboard data is available via the API for building custom reports or integrations:
| Endpoint | Description |
|---|---|
GET /api/analytics/conversions/summary | The Conversions table and tiles (days, groupBy, projectId, goal) |
GET /api/analytics/conversions/timeline | Completions per day per goal |
GET /api/analytics/conversions/properties | Property keys a goal's completions carried (goal=app:purchase) |
GET /api/analytics/conversions/breakdown | One goal by one property (goal, property) |
GET /api/analytics/events/overview | Live tiles and top events |
GET /api/analytics/events/timeline | Daily event counts |
GET /api/analytics/events/list | Paginated event feed (propKey, propValue for the property filter) |
GET /api/analytics/events/names | Distinct event names with counts |
GET /api/analytics/events/export | CSV/JSON export |
PATCH /api/event-library/entries | Mark a goal: { eventName, source, isConversion, conversionValue } |
Limitations
- Conversions are reported by last click. There is no multi-touch, first-touch or time-decay model.
- An app install and a web session are different converters; there is no cross-device or user-level identity.
- The breakdown is one goal by one property. There are no saved segments, cohorts or multi-property filters.
- Value is per currency; there is no combined total.