Expand my Community achievements bar.

Code version

Avatar

Level 4

Hi everyone,

What are these code version?

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

3 Replies

Avatar

Level 4

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

----  s.version

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

Avatar

Community Advisor and Adobe Champion

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....

Avatar

Community Advisor and Adobe Champion

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.