cache analytics snippet