We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the fathom-client.setSiteId function in fathom-client

To help you get started, we’ve selected a few fathom-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github brianlovin / brian-lovin-next / src / components / Providers / Fathom.tsx View on Github external
React.useEffect(() => {
    if (process.env.NODE_ENV === 'production') {
      Fathom.load();
      Fathom.setSiteId('ONFMHEEY');
      Fathom.trackPageview();
    }
  }, [])
  return <span></span>
github pradel / twoblocks / src / App.tsx View on Github external
useEffect(() => {
    if (config.fathomSiteId) {
      Fathom.load();
      Fathom.setSiteId(config.fathomSiteId);
      Fathom.trackPageview();
    }
  }, []);

fathom-client

A simple wrapper around the Fathom Analytics library

MIT
Latest version published 1 year ago

Package Health Score

55 / 100
Full package analysis