legal tems
Added analytics events