Skip to content

strootje/solid-plausible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@strootje/solid-plausible publish.yml

Solid Plausible

Plausible provider for your SolidJS app.

All credit should go to barbapapazes for updating the plausible-tracker

Usage

Add the PlausibleProvider to your app component:

export default function App() {
  return (
    <Plausible.Provider value={{/* ... */}}>
      <Plausible.AutoFileDownloadsTracking />
      <Plausible.AutoOutboundTracking />
      <Plausible.AutoPageviewTracking />
    </Plausible.Provider>
  );
}

License

Licensed under the MPL-2.0 license.
Copyright © 2024, Bastiaan Stroosnijder

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published