简体   繁体   中英

Google Analytics: Using chrome's console to track an event?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM