Solved

User agent

  • 30 April 2021
  • 3 replies
  • 23 views

I would like to be able to see the original user agent as a property. Is this possible?

icon

Best answer by Muffaddal Qutbuddin 3 May 2021, 12:12

here you go

<script type="text/javascript">
mixpanel.register({
"user_agent": navigator.userAgent });
</script>

 

View original

3 replies

Userlevel 3
Badge +2

Hello @Andy Noble 

you can send it as a event super property to get the actual raw user agent string.

Thanks Muffadal. Arethere any examples of how this is done that I can show to my development team?

Userlevel 3
Badge +2

here you go

<script type="text/javascript">
mixpanel.register({
"user_agent": navigator.userAgent });
</script>

 

Reply


Mixpanel