9 Replies Latest reply on Aug 7, 2018 7:57 AM by jantzen.belliston-Adobe

    I'm getting a Visitor is not defined error in visitorapi.js

    andym95330655 Level 1

      Hi,

       

      I'm trying to to implement visitorapi.js outside of DTM and I'm getting the following error:

       

      VisitorAPI.js:6 Uncaught ReferenceError: Visitor is not defined

          at Object.<anonymous> (VisitorAPI.js:6)

          at Object.n.3../ChildVisitor (VisitorAPI.js:7)

          at r (VisitorAPI.js:1)

          at e (VisitorAPI.js:1)

          at VisitorAPI.js:1

       

       

      I've copied the code in the implementation guide at the end of the .js file per instructions.  Any ideas what could be causing the error?