typo in add_analytics