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?

Have you tried this one?

this may also help

The aforementioned blog article from 2014 mentions “The Analytics Cookbook” 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: