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
BedrockMission!

Learn more

View all

Sign in to view all badges

Cannot read property 'category' of undefined

tonysebastian
Level 1
Level 1

Team,

I am seeing below error on console on the first time when the page loads. This error will disappear when the page refresh. Does category is deprecated in AA? How should i fix this issue? If the page is not refereshed, the tracking doesnt work as expected?

Uncaught TypeError: Cannot read property 'category' of undefined

    at Object.customJS (satelliteLib-3145f6b…-staging.js:5)

    at Object.S.realGetDataElement (satelliteLib-3145f6b…-staging.js:2)

    at Object.S.getDataElement (satelliteLib-3145f6b…-staging.js:2)

    at Object.S.getVar (satelliteLib-3145f6b…-staging.js:2)

    at satelliteLib-3145f6b…-staging.js:2

    at RegExp.[Symbol.replace] (<anonymous>)

    at String.replace (<anonymous>)

    at Object.S.replace (satelliteLib-3145f6b…-staging.js:2)

    at o (satelliteLib-3145f6b…-staging.js:2)

    at s (satelliteLib-3145f6b…-staging.js:2)

customJS @ satelliteLib-3145f6b…-staging.js:5

S.realGetDataElement @ satelliteLib-3145f6b…-staging.js:2

S.getDataElement @ satelliteLib-3145f6b…-staging.js:2

S.getVar @ satelliteLib-3145f6b…-staging.js:2

(anonymous) @ satelliteLib-3145f6b…-staging.js:2

S.replace @ satelliteLib-3145f6b…-staging.js:2

o @ satelliteLib-3145f6b…-staging.js:2

s @ satelliteLib-3145f6b…-staging.js:2

S.preprocessArguments @ satelliteLib-3145f6b…-staging.js:2

triggerCommand @ satelliteLib-3145f6b…-staging.js:2

flushQueueExceptTrackLink @ satelliteLib-3145f6b…-staging.js:3

onSCodeLoaded @ satelliteLib-3145f6b…-staging.js:3

(anonymous) @ satelliteLib-3145f6b…-staging.js:2

r @ satelliteLib-3145f6b…-staging.js:2

onload.t.onload @ satelliteLib-3145f6b…-staging.js:2

desktop.b0f0330….js:1 SyntaxError: Unexpected end of JSON input

0 Replies