Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Is it possible to dynamically update what page a user is on? I have some pages that gets their url updated with history.pushState , and it would be useful to see what page they are actually on.
Last edited by vagastorm (2015-07-15 10:09:33)
Offline
You mean manually trig-erring page view log as it was real browser navigation? At the moment there is no such direct api. But i ques you can just call in your app
lhc_inst.logPageView();
https://github.com/LiveHelperChat/liveh … l.php#L622
Offline
I had to change it to lh_inst.logPageView();, then it did exactly what I wanted. By setting document.title prior to calling it, that gets updated properly to. Thanks.
NB: I wasn't sure if you used to tag title with solved, so I added it to be safe
Offline