According to this page [0], _trackPageLoadTime() is deprecated because site speed reporting is enabled automatically for all users.
Update: your 2nd trick is still relevant though
[0] https://developers.google.com/analytics/devguides/collection...
Update: your 2nd trick is still relevant though
[0] https://developers.google.com/analytics/devguides/collection...