Disabling AppMeasurement.js in edit mode.

Avatar

Avatar
Give Back
Level 2
santhoshk392709
Level 2

Likes

3 likes

Total Posts

13 posts

Correct reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile

Avatar
Give Back
Level 2
santhoshk392709
Level 2

Likes

3 likes

Total Posts

13 posts

Correct reply

1 solution
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 3
Boost 1
View profile
santhoshk392709
Level 2

05-07-2021

Hi, 

Can anyone advise how to disable 

AppMeasurement.js

in edit mode ??

 

Thanks,

Santhosh 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

111 likes

Total Posts

133 posts

Correct reply

39 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile

Avatar
Boost 100
Level 6
Dipti_Chauhan
Level 6

Likes

111 likes

Total Posts

133 posts

Correct reply

39 solutions
Top badges earned
Boost 100
Give Back 10
Affirm 25
Boost 50
Boost 25
View profile
Dipti_Chauhan
Level 6

05-07-2021

Hi @santhoshk392709 

Can’t you just put author mode check while including launch script? 

may be I did not get your question completely 

Answers (1)

Answers (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

206 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

206 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

05-07-2021

Hi @santhoshk392709 

 

AppMeasurement.js is called from your Adobe Launch script. If you want to disable it in the edit mode, then you need to add a condition check and if it's edit mode, then stop loading the launch script in edit mode which will internally stop loading the AppMeasurement.js.

 

You can check the edit mode in HTL. ${wcmmode.edit}

 

Just curious to know why you want to disable it? 

 

Thanks!