This is a Rust-based Edgee component that integrates GoSquared analytics using the Edgee Data Collection protocol. It enables you to track events, monitor page views, and identify users—sending data to GoSquared via their /event, /pageview, and /identify endpoints.
- ✅ Track custom events (
track) - ✅ Track page views (
page) - ✅ Identify and update users (
user) - ✅ Built for Edge execution: fast, secure, serverless
This component requires the following settings:
| Key | Type | Required | Description |
|---|---|---|---|
api_key |
string | ✅ | Your GoSquared API Key from project settings |
site_token |
string | ✅ | Your GoSquared Site Token identifying the property |
edgee component buildedgee component buildedgee components test \
--event-type track \
--settings api_key=YOUR_API_KEY,site_token=YOUR_SITE_TOKEN \
--make-http-request
edgee components pushgosquared-component/
├── src/
│ └── lib.rs # Main component logic
├── target/
│ └── wasm32-wasip2/
│ └── release/
│ └── gosquared.wasm # Built WebAssembly output
├── gosquared.png # Component icon
├── Cargo.toml # Rust dependencies
└── edgee-component.toml # Edgee manifest