Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide chat for selected users/accounts #334

Open
ro-savage opened this issue Dec 14, 2020 · 1 comment
Open

Ability to hide chat for selected users/accounts #334

ro-savage opened this issue Dec 14, 2020 · 1 comment

Comments

@ro-savage
Copy link

We would like the ability to exclude intercom chat for subset of users.

We can use exclude_if however this excludes them from all of intercom, including records their details, emails, stats etc.

We would like to just hide just the chat (javascript side) from certain users/companies. As we only provide live chat to runs when paid for.

Right now, we've basically got some JS that will delete intercom from the dom after the page loads. However, this hack isn't ideal.

@Kenner-G
Copy link

Kenner-G commented Mar 17, 2021

Do you not have a user database? You could just check among those parameters and if they aren't met (e.g. not a user) - don't return the Intercom widget code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants