MightyHive / chrome-extension

0 stars 0 forks source link

Tracker config doesn't account for shared origins #2

Closed jreidgreer closed 7 years ago

jreidgreer commented 7 years ago

The current tracker config uses origins, such as google.com, to make its lookups more efficient. This is fine, but it causes issues in the rare case of a shared origin, such as DoubleClick servers. Google uses some DoubleClick origins for its other Ad services, causing these calls to be incorrectly attributed to DC.

To get around this, the config will need to be altered. In the interest of keeping optimizations in place, the origin can still provide the constant-time lookups, but endpoints can be replaced with full URL patterns.

jreidgreer commented 7 years ago

Feature added in refactor: https://github.com/MightyHive/chrome-extension/commit/5c3e38ab352cc8ad370e68b61e408107b2918e28