Acoustic Experience Analytics (Tealeaf) - Important Information about Chrome 80 Platform Changes

Comments

1 comment

  • Steve Cunnew

    Although it is only executed once per page load, a much more efficient way of dynamically setting the asyncReqOnUnload property would be:

    asyncReqOnUnload: (navigator.vendor.indexOf('Google') !== -1 && navigator.userAgent.indexOf('Chrome') !== -1)

    This is about 80 times faster than using Regex for positive matches, and twice as fast where there are no matches.

    0
    Comment actions Permalink

Please sign in to leave a comment.