Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Uncompressed versions?

dominicb5544753
Level 1
Level 1

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.

3 Replies
surajp86368405
Level 4
Level 4

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 ?

dominicb5544753
Level 1
Level 1

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

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