updatePath does not update the first Visitor Path | Community
Skip to main content

updatePath does not update the first Visitor Path

  • October 5, 2021
  • 1 reply
  • 0 views

I need to change the titles of the Visitor Path, and I am currently calling updatePath on page load. Once there is an active chat session, Visitor Path updates with the correct title as the user navigates to different pages. However, the Visitor Path does not seem to update when the chat is first launched, so the very first Visitor Path does not show the correct title.

I have tried calling updatePath on chat:connected and chat:start similar to below, and that also did not work.

zE('webWidget:on', 'chat:connected', () => {
zE('webWidget', 'updatePath', { title });
});

zE('webWidget:on', 'chat:start', () => {
zE('webWidget', 'updatePath', { title });
});

1 reply

Eric27
  • October 14, 2021

Hey Lynn,

Apologies for just getting to this. Are you still encountering this issue?

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy