How to fix "Uncaught TypeError: analytics.page is not a function arduino" issue with esp8266

Maybe these would help: