If you perhaps have multiple areas in your site that different parties are responsible for, and those parties would like to have to their own dashboard to collect and filter their stats on, there is quite a smart and simple method of doing this in Fathom.
Next, you will have to disable automatic tracking for this method to work. You do this by adding data-auto="false" to your script. See our section on this in advanced script settings to read more about this. The reason for doing this is because you want to be able to override the script’s Site ID on each page.
Note: Make sure to replace ‘XXXXXXX’ with the relevant Site IDThe above script is letting Fathom know which site to assign the pageview. It’s setting the Site ID and then it’s firing the “trackPageview” function to log a view in the dashboard.
Visit a couple different pages on your website where you know the Site IDs are different, and then check the relevant Fathom dashboards for those Site IDs to ensure a visit has been reported.