Insert verification and analytics code