Highlighted

Customer Attributes - AuthState.AUTHENTICATED Failed

Avatar

Avatar

edwinamirian

Avatar

edwinamirian

edwinamirian

17-10-2017

Hello,

Whenever I try to set a customer ID on our site I get the following error:

visitor.setCustomerIDs({

"testid": { "id":"123456789", "authState":Visitor.AuthState.AUTHENTICATED }

});

VM4662:3 Uncaught TypeError: Cannot read property 'AUTHENTICATED' of undefined

    at <anonymous>:3:51

Target: mbox.js v60

Visitor API: v2.4

AppMeasurement: v1.6

This only occurs on one of our subdomains. This happens to be the subdomain that hasn't been updated to at.js and hasn't been updated to the latest app measurement version.

Anyone have any ideas? I'm firing the setCustomerID function after the page has loaded, so Target, Analytics, and Visitor API have already loaded.

My best guess is that I just need to upgrade appmeasurement and Target.

Replies

Highlighted

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

308

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

308

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

18-10-2017

Could you share the URL where this error occurs?

Highlighted

Avatar

Avatar

raghav_sharma

Avatar

raghav_sharma

raghav_sharma

22-08-2018

was there a resolution to this issue. I am facing the same