{"size": 391, "ext": "js", "max_stars_repo_path": "plugins/gatsby-plugin-fathom/gatsby-browser.js", "max_stars_repo_name": "hoangvvo/hoangvvo-gatsby-site-2", "max_stars_repo_stars_event_min_datetime": "2020-01-19T23:39:53.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-30T05:22:51.000Z", "max_issues_repo_path": "plugins/gatsby-plugin-fathom/gatsby-browser.js", "max_issues_repo_name": "hoangvvo/hoangvvo-gatsby-site-2", "max_issues_repo_issues_event_min_datetime": "2020-02-03T22:18:09.000Z", "max_issues_repo_issues_event_max_datetime": "2020-10-23T09:07:26.000Z", "max_forks_repo_path": "plugins/gatsby-plugin-fathom/gatsby-browser.js", "max_forks_repo_name": "hoangvvo/hoangvvo-gatsby-site-2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 307, "max_forks_count": null, "avg_line_length": 39.1, "max_line_length": 76, "alphanum_fraction": 0.7135549872}
exports.onRouteUpdate = (context, pluginOptions) => {
  if (process.env.NODE_ENV !== 'production' || typeof fathom !== `function`)
    return null;
  const sendPageView = () => window.fathom('trackPageview');
  // Minimum delay for reactHelmet's requestAnimationFrame
  const delay = Math.max(32, pluginOptions.pageTransitionDelay || 0);
  setTimeout(sendPageView, delay);
  return null;
};
