Sign in to Community
Sign in to view all badges
Where does the getCustomerID method called?
Does anyone have experience to set it via Ensighten or can just explain how they did it without DTM? I looked into available documentation but there are lots of gaps on how to actually do this.
Thanks for reaching out. If you would like to call setCustomerID method without DTM in that case you need to work with VisitorAPI.js and need to embed below code:
with in your VisitorAPI.js.
Refer below documents to Implement the Marketing Cloud ID Service for Analytics:
Hope this helps, let me know if you have any further query.
- Ankit Bhatt
In addition to this - when I debug and test how this customer ID parameter would look like in the image request?
Many thanks Ankit
Just a couple of questions to clarify:
1 I need to insert this code in the very end of the file, after the Visitor.getInstance function? Then we can do that easily.
2 In regards getCustomerId method - do we need use it anywhere?