Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2020-07-06 12:36:10

suvajit
New member
Registered: 2020-07-06
Posts: 1

Check Whether User is logged in my site or not

Hi Team,

I have requirement like, i have integrated livehelper chat in a page in a different domain. And i want the user to signIn in my domain before they chat in the chat widget.
The flow like

User comes to website - Click Live helper chat - Chat says you must login in the site before proceeding - If logged in the bot will come in place.

Can you help me team with this.

Is it possible?

Last edited by suvajit (2020-07-06 12:36:45)

Offline

#2 2020-08-18 17:19:17

nielo
Member
Registered: 2015-03-11
Posts: 3

Re: Check Whether User is logged in my site or not

Yes, it's possible – if chat widget is placed in the domain the user has to be logged in. Just add cutsom variable in lhc "isLoggedIn" and pass value in javascript prior to open widget.
Like

window.lhc_var.isLogeddIn = <your logged in check>

Use var in lhc triggers later

Offline

Board footer