feat(crabfit): Add analytics

This commit is contained in:
Tom Hubrecht 2024-01-24 13:14:00 +01:00
parent c6abe5a347
commit a99ef0d1e0

View file

@ -14,7 +14,7 @@ diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx
index 6ceb727..7480298 100644
--- a/src/components/Footer/Footer.tsx
+++ b/src/components/Footer/Footer.tsx
@@ -17,18 +17,10 @@ const Footer = async ({ isSmall }: FooterProps) => {
@@ -17,18 +17,11 @@ const Footer = async ({ isSmall }: FooterProps) => {
return isRunningInApp
? null // Cannot show external donation link in an Android app
: <footer
@ -32,6 +32,7 @@ index 6ceb727..7480298 100644
- style={{ whiteSpace: 'nowrap' }}
- >{t('donate.button')}</Button>
+ <span>Service proposé par la <a href="https://dgnum.eu">DGNum</a>.</span>
+ <script defer data-domain="meet.dgnum.eu" src="https://analytics.dgnum.eu/js/script.js"></script>
</footer>
}