rsksmart / rif-identity-manager

Manage your identity, assets, credentials, storage and reputation in a single platform!
https://identity.rifos.org/
MIT License
1 stars 5 forks source link

Add Plausible analytics #82

Closed jessgusclark closed 3 years ago

jessgusclark commented 3 years ago

Adds Plausible analytics to the RIF Id Manager. Since it does not work while using localhost, you have to test it with

The initial start shows a message at the bottom asking permission to track. If the user responds, it is saved in localStorage. If granted, the plausible js script is loaded to into the site.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 853518774


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Plausible/PlausibleAnalytics.tsx 17 22 77.27%
<!-- Total: 17 22 77.27% -->
Totals Coverage Status
Change from base Build 832527540: 0.7%
Covered Lines: 358
Relevant Lines: 835

💛 - Coveralls