Plausible provider for your SolidJS app.
All credit should go to barbapapazes for updating the plausible-tracker
Add the PlausibleProvider
to your app component:
export default function App() {
return (
<Plausible.Provider value={{/* ... */}}>
<Plausible.AutoFileDownloadsTracking />
<Plausible.AutoOutboundTracking />
<Plausible.AutoPageviewTracking />
</Plausible.Provider>
);
}
Licensed under the MPL-2.0 license.
Copyright © 2024,
Bastiaan Stroosnijder