tinybirdco / web-analytics-starter-kit

Tinybird Web Analytics Starter Kit
https://tinybird.co/starter-kits/web-analytics
MIT License
350 stars 36 forks source link

Improve detection of sources #102

Open alexfernandez opened 3 weeks ago

alexfernandez commented 3 weeks ago

Description

Detection of sources in analytics_sources.pipe is done using the current domain from the first line. This works fine on setups where there is only a single source, but when there are many it can lead to false positives: the current domain may change from line to line. We want to detect the current domain from each event.

Fixes #101

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

vercel[bot] commented 3 weeks ago

@alexfernandez is attempting to deploy a commit to the tinybird Team on Vercel.

A member of the Team first needs to authorize it.