Convert analytics event tracking to use new analytics.js syntax
Add () to date constructor