capturing uid in analytics