Closed sambux1 closed 5 months ago
This has been fixed. It turns out the detection part was working fine in Chrome but not Firefox, and I changed the logic to track destination sites rather than origin sites. We now have a working version of referral tracking for Chrome only, and I'm unfortunately going to have to drop support for Firefox for this iteration of the project. Making the plugin truly cross-browser can be left to future work.
Our current referral tracking has 2 major problems. First, we are not correctly detecting a referral when it happens. Second, we are storing data about where referrals come from rather than where they are being referred to. We should be keeping a separate map of the full site list to the number of times it's been referred to by the user from a social media site.