Uncompressed versions? | Community
Skip to main content
August 27, 2019
Solved

Uncompressed versions?

  • August 27, 2019
  • 3 replies
  • 1891 views

Is it possible to obtain uncompressed versions of AppMeasurement.js and VisitorAPI.js anywhere?

I need to be able to modify these slightly to adhere to my sites security policy.

Many 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 PratheepArunRaj

Dear Dominic,

Have you reached Customer Care to understand if there is an existing uncompressed version of App Measurement and Visitor API?

But pretty not sure whether Adobe can provide the code. Check out and keep us posted as well.

Thank You!

Arun

3 replies

Level 4
August 27, 2019

i guess you could probably use an online tool like unminify to unminify it and minify it back again.

but is it advisable to change it ?

August 27, 2019

Unminified code is not the same as source code. So if at all possible I would like the annotated source.

It doesn't work in it's current state so I either have to change it or not use it. For example, one of the security requirements is that all variables are attached to the window object rather than left as global variables. VisitorAPI does this but appMeasurement.js does not. I've added these to the window object but now I'm running into problems with appMeasurement.js use of setTimeout (at least I think that is what it is).

PratheepArunRaj
Community Advisor and Adobe Champion
PratheepArunRajCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 27, 2019

Dear Dominic,

Have you reached Customer Care to understand if there is an existing uncompressed version of App Measurement and Visitor API?

But pretty not sure whether Adobe can provide the code. Check out and keep us posted as well.

Thank You!

Arun

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics