Will it work if use Chrome console to
_gaq.push(['_trackEvent'...
Will this work even though the ga script has already been loaded?
Yes.
The Google Analytics script replaces the _gaq
array with its own object; its new push()
function sends requests immediately.
This allows you to use the same _gaq.push()
calls both before and after the async script loads.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.