Skip to content
IForevents Docs
IForevents Docs
InicioPanelGitHubPrivacidadTérminosSeguridadIntroducción
TrackingIdentify usersTrack events
Web (JavaScript)Flutter SDKJavaScript SDK (browser and Node.js)React, Next.js and React NativePython SDKGo SDKJava and Android SDKsSwift SDK (iOS, macOS)Ruby SDKPHP SDK.NET and Unity SDKsClient libraries (JavaScript, Python, Go)HTTP Ingest (Server-Side)
Soporte y SLA
TrackingSDKs

Go SDK

Install iforevents-go, identify users, track events and add adapters from Go

go get github.com/innovafour/iforevents-sdks/go
import iforevents "github.com/innovafour/iforevents-sdks/go"

api := iforevents.MustAPIIntegration(iforevents.APIConfig{ProjectKey: os.Getenv("IFOREVENTS_PROJECT_KEY")})
client := iforevents.New(iforevents.WithIntegrations(api))
client.Init(ctx)
defer client.Shutdown(ctx)

client.Identify(ctx, "user_123", iforevents.Properties{"email": "[email protected]", "plan": "pro"})
client.Track(ctx, "invoice_paid", iforevents.Properties{"amount": 120, "currency": "USD"})
client.Page(ctx, "/pricing", nil, iforevents.PageOptions{})

No dependencies outside the standard library. Every call returns []IntegrationResult; errors are typed (*AuthError, *QuotaExceededError, *RateLimitedError, *APIError) and detected with errors.As.

Adapters (separate modules, so the core stays dependency-free)

import "github.com/innovafour/iforevents-sdks/go/integrations/mixpanel"

client := iforevents.New(iforevents.WithIntegrations(api, mixpanel.New(mixpanel.Config{Token: "..."})))

Available: integrations/mixpanel, integrations/amplitude, integrations/segment, integrations/posthog.

APIConfig

BaseURL, BatchSize (20, max 500), FlushInterval (10s), Timeout, MaxRetries / RetryDelay, DisableRequeue, Storage / PersistQueue (NewFileStorage), ReturnErrors, OnQuotaExceeded, OnError, HTTPClient.

Source: iforevents-sdks/go.

Python SDK

Install iforevents, identify users, track events and add adapters from Python

Java and Android SDKs

com.iforevents:iforevents for the JVM and com.iforevents:iforevents-android for apps

On this page

Adapters (separate modules, so the core stays dependency-free)APIConfig