Installing Formo is easy and quick. This guide will show you how to do it with our SDKs. Get realtime analytics and attribution for onchain apps in less time.
IMPORTANT: To enable accurate attribution, install Formo on both your website (example.com) and your app (app.example.com) using the same project/SDK write key.
Pick your stack and add the code below to your codebase.
Formo autocaptures events like page views, wallet connects, signatures, and transactions for you.For everything else, use the track function to track custom user actions specific to your app.
The Formo SDK automatically captures common events such as page views and wallet events (connect, disconnect, signature, transaction, etc) with full attribution (referrer, UTM, referrals.)You do not need to configure anything to track these events.
To verify that the SDK is installed correctly, navigate to your site and open the network tab of the developer tools in your browser.Wait and look for a ‘raw_events’ request to Formo in the network console. Check that the request returns a 202 response status. If so, you’re done!