Documentation
¶
Overview ¶
Package pixl fires fire-and-forget analytics pixels to the GCS pixel bucket. Events are GET requests; the response body is discarded. Never blocks callers. No-op when PixlBaseURL is empty (local builds without the ldflag).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PixlBaseURL string
PixlBaseURL is injected at build time via -ldflags. Empty → all calls no-op.
Functions ¶
func Fire ¶
Fire sends GET {PixlBaseURL}/{event}?params in a background goroutine. extra key=value pairs are merged on top of the standard params (v, os, arch, did). Never blocks. Never surfaces errors — analytics must not affect UX.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.