Install FlashAnalytics
Get started with FlashAnalytics in less than 2 minutes.
The quickest way to get started with FlashAnalytics is to use our Web SDK. It works with any website.
Quick Start
Simply add this script tag to your website's <head> section.
index.html
<script>
window.fa=window.fa||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
window.fa('init', {
appId: 'YOUR_CLIENT_ID',
capturePageViews: true,
captureExternalLinks: true,
captureDataAttributes: true,
});
</script>
<script src="https://dashboard.flashanalytics.app/fa1.js" defer async></script>That's it! FlashAnalytics will now automatically track:
- Page views
- Visit duration
- Referrers
- Device and browser information
- Location
Using a Framework?
If you are using a specific framework or platform, we have dedicated SDKs that provide a better developer experience.
Next.js
Optimized for App Router and Server Components
React
Components and hooks for React applications
JavaScript
Universal JavaScript/TypeScript SDK
React Native
Track mobile apps with React Native
Python
Server-side tracking for Python
Explore all SDKs
We support many more platforms. Check out our SDKs Overview for the full list.
