top of page
Features
All Features
Wishlist
Documentation
Velo Courses
Articles
Video Tutorials
API Reference
Examples
Partners
Certification
Become a Partner
Hire a Developer
Community
Forum
Discord
Showcase
Blog
Events
Search
More
Use tab to navigate through the menu items.
Start a Project
Forum Comments
Open Intercom chat on click
In Coding with Velo
Victor Nihoul
Sep 20, 2021
Anyone to help on this one ?
Open Intercom chat on click
In Coding with Velo
Victor Nihoul
Sep 19, 2021
@Certified Code Global With both these code snippets, it seems like nothing trigger the event $w.onReady(function () { wixWindow.postMessage({intercom:'open'}) }); $w.onReady(function () { wixWindow.postMessage("intercom"); }); I've added a console.log in the HTML code to be sure but nothing happening: window.addEventListener('intercom', (event) => { console.log('xx'); });
Open Intercom chat on click
In Coding with Velo
Victor Nihoul
Sep 19, 2021
Thanks for your fast reply! Is this something that could work? window.addEventListener('intercom', (event) => { console.log(event.data); }); Added in the code like this: And on my home page : $w.onReady(function () { wixWindow.postMessage("intercom", "certifio .io"); }); But nothing seems to happen and I don't know how to debug it. Many thanks
1
5
Victor Nihoul
0
Followers
0
Following
Follow
Following icon
More actions
Profile
Forum Posts
Forum Comments
bottom of page