Documentation
Build and Understand Your Business Better On Aropath
Build websites and software with Aropath, connect the tools you already use, and turn real user activity into insights that help you improve what you build.
Quick starts, API references, and SDKs for every language your team already uses.
SDKs & Client Libraries
Integrate Aropath seamlessly into your software stack using our official server SDKs and client tracking libraries.
Node.js
Officialtypescript
npm install @aropath/sdkPython
Officialpython
pip install aropath-analyticsGo
Officialgo
go get github.com/aropath/aropath-goHTML Script
Officialhtml
<script src="https://cdn.aropath.com/track.js" data-id="YOUR_TRACKING_ID" async></script>Node.js / TypeScript SDK (@aropath/sdk)
Initialize the tracker with your secret API key to record backend conversions, track custom checkout flows, or push offline customer events.
typescript
import { Aropath } from "@aropath/sdk";
const tracker = new Aropath({ apiKey: process.env.AROPATH_API_KEY });
// Track a custom checkout event and assign a revenue value
await tracker.track("checkout_completed", {
value: 79.00,
currency: "USD",
items_count: 2,
});
console.log("Event tracked successfully");Python SDK (aropath-analytics)
python
from aropath import AropathClient
client = AropathClient(api_key="YOUR_API_KEY")
# Track custom server event
client.track(
event_name="checkout_completed",
properties={"value": 79.00, "currency": "USD", "items_count": 2}
)Go SDK (aropath-go)
go
package main
import "github.com/aropath/aropath-go"
func main() {
client := aropath.NewClient("YOUR_API_KEY")
client.Track("checkout_completed", map[string]interface{}{
"value": 79.00,
"currency": "USD",
})
}SDK Feature Comparison Matrix
| Feature | HTML Script Tag | Node.js SDK | Python / Go SDKs |
|---|---|---|---|
| Auto Visitor Session Tracking | ✓ Included | Manual Event | Manual Event |
| Custom Event Tracking | ✓ Supported | ✓ Supported | ✓ Supported |
| Revenue Transaction Values | ✓ Supported | ✓ Supported | ✓ Supported |
| Authentication Credential | Public tracking_key | Secret AROPATH_API_KEY | Secret AROPATH_API_KEY |
Ready to get started?
Get set up in minutes, and let Aropath show you exactly what to build, fix, or ship next — all pointed toward real growth.
