Tracking anonymous users

We want to track “anonymous users / users who have yet logged in”. Upon logging in, we want to be able to associate all their anonymous data to their user id.

Are there guides or documentation to help us do this?

Hi,
Have you tried this one?
https://snowplowanalytics.com/blog/2014/04/16/identity-stitching-snowplow-vs-google-universal-analytics-kissmetrics-and-mixpanel/

this may also help

The aforementioned blog article from 2014 mentions “The Analytics Cookbook” http://snowplowanalytics.com/analytics/customer-analytics/identifying-users.html however, that URL now just redirects to the homepage.

Is there a new place that Cookbook lives?

@petervcook, that “cookbook” does not exist any longer I’m afraid. We have, however, the standard webmodel available in this repository: https://github.com/snowplow/web-data-model.