Segment
A single library to include that then loads other analytics tools with easy/no code switching adding new tools
Best naming convention is OBJECT ACTION like "Event Created" and only track the flows you want not everything
Server vs Client Tracking
All libs just wrap the HTTP API
Client:
Needed for some tools(no server-side full-story)
Richer User Data(cookies, IP, user agent, referrer, UTMs, mobile device info)
Automatically assigns userId and stores in local storage
Server:
More accurate as can't be blocked by adblockers/etc
No automatic userID, must be explicitly set
Client Usage
Every event automatically grabs page info and user agent
Don't bother calling identify for anonymous client users, let Segment do its random id thing stored in local storage
Server Usage
Elixir/Phoenix
mix.ex
config.exs
application.ex in the supervisor list
Usage
Node
Last updated