Code version | Community
Skip to main content
Level 3
November 28, 2023
Question

Code version

  • November 28, 2023
  • 2 replies
  • 938 views

Hi everyone,

What are these code version?

Is there any method to fetch my code version in Data element?

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

2 replies

SA30Author
Level 3
November 28, 2023

Well, Thanks . I went through documentation , it's

----  s.version

Any , extra point will be welcome , maybe where it will be used ?

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 28, 2023

s.version will get you the AppMeasurement.js version, which is technically different from the "Analytics Extension Version" that I mentioned below.... 

 

There's also a lot of "nesting" when it comes to version numbers 🙂

 

As for your question "maybe where it will be used?", this would differ based on companies... if this is coming from an old requirement, and carried forward to a new implementation, perhaps its a good time to evaluate how and if it's being used.....

 

We don't track this ourselves.. but I believe some companies do this do that if there is a problem, they know what version to roll back to... but with a full log of Revisions in Launch (and even before most companies should have been using a Code Repository and proper branches) being able to roll back to a previous code base should be easy to achieve based on recorded dates and traceability....

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 28, 2023

Which "code version" are you asking about?

 

  • Each Data Element (especially if they are custom code) would have their own revision number....
  • Each Rule will have it's own Revision Number
  • Each Extension will have it's own code version (Core, Adobe Analytics, Experience Cloud ID Services, etc)
  • Are you talking about a "logical" Code Version for each deployment based on the Publishing Flow Revision? So that you know which build of all the above is being used on your site at the time of tracking?

 

We would have to understand what you actually want in order to help provide the correct method to support you.