// Initialize the analytics - minimal example analytics.init('your-site-uuid')
// Initialize the analytics - minimal example for hash or history navigation // This automatically adds a Hash or History API watcher. analytics.init('your-site-uuid', { navType:'hash', // or 'history' });
// Initialize the analytics with all available options analytics.init({ uuid:'your-site-uuid', apiUrl:'https://api.99.dev', navType:'hash', recordView:false, trackPageRefreshes:true, normalizeUrls:false, debug:true, });
Example