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
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation
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
[ ] Tested in a test project (server gcp-wadus6). Events are processed correctly.
Checklist:
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
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
gcp-wadus6
). Events are processed correctly.Checklist: