now using Basiclytics.Storage instead of setting cookie directly