From 1e8eeed47d37a5b3aa27facf6977632bf1b85078 Mon Sep 17 00:00:00 2001 From: Samiksha Shreya Date: Tue, 10 Nov 2026 11:09:08 +0530 Subject: [PATCH] docs(web): website attribution windows (LIN-4267) The app side has features/attribution-windows; the website side had nothing, so a website customer had no page for the setting LIN-4267 adds. Written from the implementation rather than by mirroring the app page, because almost every number differs: - it applies to conversions a customer's BACKEND sends, through capture-event and capture-payment with a web source. Browser SDK events already carry the visit's channel, UTMs and click ids, so they are never windowed. The consumer only loads the windows inside its server-rows branch, which is what makes the scope real rather than assumed; - 1 to 90 days, default 90, and the default equals the ceiling on purpose, so nothing changes for an existing project until someone shortens a window; - the 90 is a product ceiling, not an imposed one: website attribution reaches back 90 days and web_events carries no TTL, unlike the app's 30 day click retention. The page says which reason belongs to which side; - an unmatched conversion is credited to Direct, not organic; - a change takes up to 5 minutes, not the app's minute, because the website path caches each project's windows for that long and nothing invalidates it on save; - view-through is app only. No screenshots: the Web tab is not deployed yet, and the repo rules forbid fabricating a screenshot of an unavailable UI. Worth adding once it ships. The app page gains a line pointing here, so the two are reachable from each other. Registered in relay-nav.ts and nav.json, including the tab's activeMatch. bun run check and bun run build:relay both pass; 136 pages, all links resolve. --- .vitepress/nav.json | 7 ++- .vitepress/relay-nav.ts | 1 + features/attribution-windows.md | 2 + features/web-attribution-windows.md | 76 +++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 features/web-attribution-windows.md diff --git a/.vitepress/nav.json b/.vitepress/nav.json index 26ef524a..9fa4cfe3 100644 --- a/.vitepress/nav.json +++ b/.vitepress/nav.json @@ -3,7 +3,7 @@ { "text": "Guides", "link": "/introduction", - "activeMatch": "^/(introduction|quickstart|features/mcp|features/website-projects|ai-agent-skills|testing/integration-testing|testing/event-and-revenue-testing|testing/web-sdk-testing|testing/meta-android-attribution-testing|sdk/react-native|sdk/flutter|sdk/capacitor|sdk/cordova|sdk/ios|sdk/android|sdk/expo|sdk/appbrew|sdk/web|sdk/unity|sdk/shopify|features/create-trackable-link|features/subdomain-setup|features/deep-linking-setup|features/deferred-deep-linking|features/web-to-app-journeys|features/web-partner-link|features/web-events-tracking|features/web-campaign-link|features/web-campaigns-report|features/web-creatives|features/meta-web-conversions|features/google-ads-web-conversions|features/push-notification-tracking|features/push-notification-providers|features/link-redirection|features/deactivate-campaign-link|features/deep-link-management|features/referral-codes|features/custom-store-listing|features/social-media-intermediary-page|features/custom-landing-page|features/users-tab|features/events-tab|features/data-export|features/uninstall-tracking|features/retention|features/meta-install-referrer|features/send-consent|features/ios-campaign-data-limitations|features/attribution-windows|features/ctv-attribution|features/fraud-control|features/skadnetwork-integration|features/google-skan-setup|features/meta-skan-setup|features/skadnetwork-conversion-values|features/skan-dashboard/overview|features/skan-dashboard/stats-cards|features/skan-dashboard/privacy-tiers|features/skan-dashboard/conversion-values|features/skan-dashboard/trend-graph|features/skan-dashboard/conversion-table|features/remarketing-guide|features/remarketing|features/remarketing-audience-segments|features/remarketing-audience-events|features/remarketing-audience-upload|features/remarketing-campaigns|billing/overview|billing/wallet|billing/finance-role|testing/testing-attribution-troubleshooting|ad-networks/meta-support-access|ad-networks/google-support-access|ad-networks/google-ads-discrepancies|ad-networks/meta-ads-discrepancies|ad-networks/meta-view-through-attribution|sdk-less/introduction|sdk-less/android-quickstart|sdk-less/android-device-data|sdk-less/android-minimal|sdk-less/ios-quickstart|sdk-less/ios-device-data|sdk-less/ios-minimal|sdk-less/api-reference)$" + "activeMatch": "^/(introduction|quickstart|features/mcp|features/website-projects|ai-agent-skills|testing/integration-testing|testing/event-and-revenue-testing|testing/web-sdk-testing|testing/meta-android-attribution-testing|sdk/react-native|sdk/flutter|sdk/capacitor|sdk/cordova|sdk/ios|sdk/android|sdk/expo|sdk/appbrew|sdk/web|sdk/unity|sdk/shopify|features/create-trackable-link|features/subdomain-setup|features/deep-linking-setup|features/deferred-deep-linking|features/web-to-app-journeys|features/web-partner-link|features/web-events-tracking|features/web-campaign-link|features/web-campaigns-report|features/web-creatives|features/meta-web-conversions|features/google-ads-web-conversions|features/web-attribution-windows|features/push-notification-tracking|features/push-notification-providers|features/link-redirection|features/deactivate-campaign-link|features/deep-link-management|features/referral-codes|features/custom-store-listing|features/social-media-intermediary-page|features/custom-landing-page|features/users-tab|features/events-tab|features/data-export|features/uninstall-tracking|features/retention|features/meta-install-referrer|features/send-consent|features/ios-campaign-data-limitations|features/attribution-windows|features/ctv-attribution|features/fraud-control|features/skadnetwork-integration|features/google-skan-setup|features/meta-skan-setup|features/skadnetwork-conversion-values|features/skan-dashboard/overview|features/skan-dashboard/stats-cards|features/skan-dashboard/privacy-tiers|features/skan-dashboard/conversion-values|features/skan-dashboard/trend-graph|features/skan-dashboard/conversion-table|features/remarketing-guide|features/remarketing|features/remarketing-audience-segments|features/remarketing-audience-events|features/remarketing-audience-upload|features/remarketing-campaigns|billing/overview|billing/wallet|billing/finance-role|testing/testing-attribution-troubleshooting|ad-networks/meta-support-access|ad-networks/google-support-access|ad-networks/google-ads-discrepancies|ad-networks/meta-ads-discrepancies|ad-networks/meta-view-through-attribution|sdk-less/introduction|sdk-less/android-quickstart|sdk-less/android-device-data|sdk-less/android-minimal|sdk-less/ios-quickstart|sdk-less/ios-device-data|sdk-less/ios-minimal|sdk-less/api-reference)$" }, { "text": "Integrations", @@ -217,6 +217,11 @@ "link": "/features/google-ads-web-conversions", "icon": "/images/logos/google.webp" }, + { + "text": "Website Attribution Windows", + "link": "/features/web-attribution-windows", + "icon": "clock" + }, { "text": "Push Notification Tracking", "link": "/features/push-notification-tracking", diff --git a/.vitepress/relay-nav.ts b/.vitepress/relay-nav.ts index fb460be2..a00a6488 100644 --- a/.vitepress/relay-nav.ts +++ b/.vitepress/relay-nav.ts @@ -118,6 +118,7 @@ const guides: Group[] = [ "/features/web-creatives", "/features/meta-web-conversions", "/features/google-ads-web-conversions", + "/features/web-attribution-windows", "/features/web-to-app-journeys" ), false, diff --git a/features/attribution-windows.md b/features/attribution-windows.md index 3db6a186..5501f514 100644 --- a/features/attribution-windows.md +++ b/features/attribution-windows.md @@ -101,6 +101,8 @@ This matches AppsFlyer, where you turn on view-through and set its lookback wind The click window governs **click matching only**. It does not change the view-through window above, or probabilistic attribution. +It does not cover **website conversions**. Those have their own window, with a different default and ceiling, on the **Web** tab of the same page. See [website attribution windows](/features/web-attribution-windows). + It is also separate from the **Lookback Window** on the Remarketing page. That one controls the reattribution window for users who already have your app. This one controls how a brand new install gets credited. **Need help?** Contact . diff --git a/features/web-attribution-windows.md b/features/web-attribution-windows.md new file mode 100644 index 00000000..9c53d65f --- /dev/null +++ b/features/web-attribution-windows.md @@ -0,0 +1,76 @@ +--- +title: "Website Attribution Windows: Click to Conversion" +description: "How far back Linkrunner looks for a website visit when crediting a conversion your backend sends, the 90 day default, and how to shorten it per channel." +--- + +# Website Attribution Windows: Click to Conversion + +

How far back Linkrunner looks for a website visit when crediting a conversion your backend sends, the 90 day default, and how to shorten it per channel.

+ +**A website click window is how far back Linkrunner looks for a visit when crediting a conversion.** If the most recent matching visit is older than the window, it is not used, and the conversion is credited to **Direct** instead. + +Like the [app windows](/features/attribution-windows), this is applied per channel, so a visit from Google Ads and a visit from Meta can be judged against different windows. + +## Which conversions this applies to + +This window applies to **conversions your backend sends**, through `capture-event` and `capture-payment` with a web source. A server has no browser state, so such an event arrives with only your user ID: no visit, no UTMs and no click IDs. Linkrunner looks back for that user's most recent website visit and credits the conversion to the channel of that visit, and the window is how far back it is allowed to look. + +Events the Web SDK sends from the browser are **not** affected. They already carry the visit's own channel, UTMs and click IDs, so there is nothing to look back for. + +## The default + +Every channel starts at **90 days**. + +There are no per-channel defaults on the website side, so unlike the app, Google and Meta start where every other channel does. + +The default is the same as the maximum on purpose. It is the behaviour every website project already had before this setting existed, so nothing about your reporting changes until you choose to shorten a window. + +## Limits + +Windows can be set from **1 to 90 days**. + +Website attribution reaches back 90 days, so a longer window would not change anything. This means you can shorten a window, which is the usual reason to touch this page, and cannot lengthen it past what you already get. + + + +The app ceiling is 30 days, and for a different reason: Linkrunner retains app clicks for 30 days, so a longer app window cannot be honoured. The website side has no such limit in storage, so its ceiling is a product choice rather than an imposed one. + + + +## Change a window + +Go to **Settings → Attribution Windows** in the [dashboard](https://dashboard.linkrunner.io/dashboard/settings/attribution-windows) and switch to **Web**. + +The timeline shows each channel and its current click-to-conversion window. Italic values use the Linkrunner default. + + + + + +Click the current day value for a channel. To configure another available channel, click **Add channel** and choose it. + + + + + +Select a value from **1 day** to **90 days**. Linkrunner saves the change automatically for this project. + + + + + +To return a channel to its default, select the italic default value. + +A change takes up to **5 minutes** to apply, longer than the app side, because the website attribution path caches each project's windows for that long. + +Changes apply going forward. Conversions already attributed keep the channel they were credited to. + +## What this does not cover + +**View-through attribution is app only.** Crediting a conversion to an ad impression with no click is available for app installs from affiliate partners, and not for website conversions. See [view-through attribution](/features/attribution-windows#view-through-attribution). + +**App installs use their own window.** The two are set and stored separately, so shortening a website window does not touch how an app install is credited, and the reverse is also true. Switch to **App** on the same page for those. + +It is also separate from the **Lookback Window** on the Remarketing page, which controls reattribution for users who already have your app. + +**Need help?** Contact .