1 Reply Latest reply on Oct 18, 2017 3:05 PM by Jantzen.Belliston

    Customer Attributes - AuthState.AUTHENTICATED Failed

    edwinamirian Level 1



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



      "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.