Update the analytics code snippet.