Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

Mbox.js showing error in console.

Avatar

Level 2

Hi,

Whenever i use the latest mbox.js in DTM, I am getting the console error as

"Uncaught TypeError: Cannot read property 'indexOf' of undefined"

Please refer the below image.

Please help me.

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Are You using DTM for implementing your Mboxes?

It seems like cookie manager is try to read a cooke but you don't have one.

1. Check if you are able to set the cookies for your site?

2. Check are you able to use your clientcontext cookies?

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Are You using DTM for implementing your Mboxes?

It seems like cookie manager is try to read a cooke but you don't have one.

1. Check if you are able to set the cookies for your site?

2. Check are you able to use your clientcontext cookies?