Can we use customised metric to detect the web application version being used by the user? | Community
Skip to main content
New Participant
June 28, 2022
Solved

Can we use customised metric to detect the web application version being used by the user?

  • June 28, 2022
  • 2 replies
  • 764 views

Hi All,

 

Can we use customised metric to detect the web application version being used by the user?

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

By "web application version" I assume you mean something like the build version that your developers using in their version control... like something that you could use to trace back to changes that were deployed?

 

This shouldn't be a problem, you just need to work with your developers to provide the build number into a data layer that you can read from the page and track...

 

Or do you mean an "analytics" version number correlating to your Launch implementation? In this case, this would be something you would need to maintain... make sure you are using a "version number" on your builds, and use a "constant" Data Element that you make sure correlates to your versions... this is a little bit manual, but if you are diligent this is still doable.

2 replies

Alexis_Cazes_
New Participant
June 29, 2022

Please be aware that exposing the application version client side in any shape or form can create security issues. 

 

As long as the user knows which version is deployed then can exploit an existing bug if found.

Jennifer_Dungan
Jennifer_DunganAccepted solution
New Participant
June 29, 2022

By "web application version" I assume you mean something like the build version that your developers using in their version control... like something that you could use to trace back to changes that were deployed?

 

This shouldn't be a problem, you just need to work with your developers to provide the build number into a data layer that you can read from the page and track...

 

Or do you mean an "analytics" version number correlating to your Launch implementation? In this case, this would be something you would need to maintain... make sure you are using a "version number" on your builds, and use a "constant" Data Element that you make sure correlates to your versions... this is a little bit manual, but if you are diligent this is still doable.