add userAgent reporting
Merge pull request #3622 from Jonahss/userAgent

add userAgent reporting