mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-12 20:46:52 +01:00
fix: use new plausible/analytics script tag
This commit is contained in:
@@ -90,10 +90,14 @@ const LocaleLayout: React.FC<LocaleLayoutProps> = async (props) => {
|
|||||||
</NextIntlClientProvider>
|
</NextIntlClientProvider>
|
||||||
|
|
||||||
<Script
|
<Script
|
||||||
defer
|
async
|
||||||
data-domain={DOMAIN}
|
src="https://analytics.theoludwig.fr/js/pa-MToGPBn2iXgorPLkh6f_s.js"
|
||||||
src="https://plausible.theoludwig.fr/js/script.js"
|
|
||||||
/>
|
/>
|
||||||
|
<Script id="analytics-init">
|
||||||
|
{`
|
||||||
|
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||||
|
plausible.init()`}
|
||||||
|
</Script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user