Install Formo
Installing Formo is easy. This guide will show you how to do it with our SDKs.
Pick your stack and add the code below to your codebase.
Install this script in the <head>
tag of your website:
Ensure you pass a valid writeKey
when initializing the SDK. Replace <YOUR_WRITE_KEY>
with your project’s Write Key in your project settings.
The write key is a unique identifier for your project. Formo uses this key to send events from a source to the correct destination.
To test that things are working, navigate to your site and open the network tab of the developer tools in your browser (usually F12 or Ctrl/Command + Shift + I). Search for ‘events’ and make sure you get a 200 response code in the status column.
SDK API Reference
Refer to the corresponding SDK documentation for the implementation specifics:
Code Examples
Check out working examples of Formo on Github:
Example Next.js App
A working example of Formo in a Next.js app.
Example React App
A working example of Formo in a React app.