added analytics snippet