modified the analytics.js snip