Search Results for: String instruments
m.parentnode.insertbefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','analytics'); analytics('create', 'ua-xxxxx-y', 'auto'); analytics('send', 'pageview'); manually renaming the global object renaming the global object works because analytics.js, when it loads, looks for a string
stored on a global variable called googleanalyticsobject. if it finds that variable, it uses the string name as the new name for the global command queue. for example, if you're using jquery's $.getscript method to load analytics.js, you could rename the global object with the following code: // instructs...
https://developers.google.com/analytics/devguides/collection/analyticsjs/renaming-the-ga-object