j-mendez / next-intercom Goto Github PK
View Code? Open in Web Editor NEWIsomorphic Intercom composer
License: MIT License
Isomorphic Intercom composer
License: MIT License
Hi, thanks for your lib. I have some question for this:
I have a home page. When user open the home page first time, I'll call the method: loadIntercom
. If user leave the page and go to other page, I'll call shutdownIntercom
. And if the user go to home page again, I'll call the showIntercomWindow
. But the loadIntercom
will be called again and the error will show: intercom script already inserted
.
Question:
loadIntercom
method only be called once. Do we need a new method to get whether the intercom script already inserted.When my users log out i run shutdownIntercom
which works as expected except i can not seem to reboot intercom? i tried re-initiating the loadIntercom
but it does not seem to work. Should i maybe replace showdownIntercom
with updateIntercom
to remove any user data?
A number of performance monitors recommend loading intercom with a facade. Is there a method to load intercom with next-intercom using a facade?
The NPM page for this code doesn't have a link to its source repository.
https://www.npmjs.com/package/next-intercom
I think if you add the repository attribute to package.json
it would help developers discover and review the source code or file issues.
Thanks
Hi,
I see that currently there's no way to call a callback function when a user clicks on the intercom widget.
Is this something not possible with the current intercom library?
If it is possible, how hard is it to implement it for next-intercom
?
I'm considering using this package for a SaaS marketing website. The marketing site will be outside the auth context of the product.
After testing it seems the chat fails to load if no email or userId is passed, is there any way to use this package for logged-out users?
Hi there,
Is there a way to achieve this result through next-intercom?
We're using loadIntercom() to add the user attributes but cannot use Intercom('show')
since we're not using a <script> to add the messenger to the website.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.