User's Articles or Tickets are Not Loading on First Load
- Last updated on January 11, 2019 at 5:07 AM
If you have used the Elevio API to call setUser
, but the content that is specific to a user is not loading immediately, you may want to troubleshoot by checking how setUser
is getting called.
It is imperative that the user information is set as soon as Elevio loads so that any content that is specific to them can then be loaded correctly.
For this to work, we typically recommend that the code referenced in the setUser
article gets placed just after the installation script, before the closing body tag.
window._elev.on('load', function (_elev) { _elev.setUser(user); });
If you have a more custom implementation that requires troubleshooting or any other questions, please feel free to ask us!