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

AppMeasurement version 2.10 TypeError: a[g]

silvioe55109920
Level 1
Level 1

Hi,

i want to update the AppMeasurement to 2.10.

i get a Error: "TypeError: a[g]"

in the line 52

....

("contextData"==g||"retrieveLightData"==g)&&a[g])for(l in a[g])h[l]||(h[l]=a[g][l]);a[g]=h}};a.Ra=function(c,b){var d,f,e,g;for(d=0;2>d;d++)for(f=0<d?a.va:a.g,e=0;e<f.length;e++)g=f[e],c[g]=a[g],b||c[g]||(c["!"+g]=1)};a.tb=function(a){var b,d,f,e,g,h=0,l,k="",m="";if(a&&255<a.length&&(b=""+a,d=b.indexOf("?"),0<d&&(l=b.substring(d+1),b=b.substring(0,d),e=b.toLowerCase(),f=0,"http://"==e.substring(0,7)?f+=7:"https://"==e.substring(0,8)&&(f+=8),d=e.indexOf("/",f),0<d&&(e=e.substring(f,d),g=b.substring(d),

....

Thx for help

Silvio

3 Replies
ishans52004352
Employee
Employee

Hi,

Could you share more details about this error? Replacing the latest AppM code downloaded from the Code Manager from the Analytics UI should run correctly. Also, how is the implementation done - JavaScript, DTM or Launch?

Thanks!

Gigazelle
Employee
Employee

Hi Silvio, were you able to get this issue resolved?

silvioe55109920
Level 1
Level 1

Hi Together,

i fix the problem, i have add the last line new, and now it works.

thk Gigazelle​ & ishans9314858