Integration New Plugin Customer Chat (Facebook)

Hello !

I try to include the plugin customer chat : Chat Plugin - Messenger Platform - Documentation - Meta for Developers

For that I need to include the Facebook SDK.
I do that in the “code for page” part in wix code :


and I got some errors…
I include the plugin with HTML like that :


I also tried some other tricks but nothing works.
Do you have a solution for that?

Regards,
San

Help !

I could use some help too. I joined the Facebook developer page, maybe they can help…

@San, did you change “myappid” and “mypageid” to your actual Facebook app ID and Facebook page ID ?

I’m running into the same problem myself. Here’s the code I pasted directly to the html box in editor (SDK + plugin code back to back) :

I’ve also followed the instructions here (whitelisting domain, etc): Chat Plugin - Messenger Platform - Documentation - Meta for Developers

Thanks in advance!

Hi,

Currently it is not possible to bring FB modules into the page code.
I think that you intend for all of your code to be inside the HTML component.

Liran.

Thanks for your help Liran!
How can we then edit the HTML component to add the FB module?

Hi nicolas,
Sorry, but adding a code to the HTML component is not a part of Wix Code product (which is what this forum is about).
The basics of HTML component is to put any HTML code in it.
That code can be copied from FB or anywhere else, but you need to know the exact code to put there (which is not related to Wix Code)… We can’t really help with that.

Liran.

Hello !
@Nicolas yes, I have replaced my ids so as not to communicate them by sharing my code here. I also tried the technique you shared but without success…
Thx @Liran for your answer. The code to put in the HTML component is known and has been communicated by Nicolas but it doesn’t work.
Waiting for a solution from wix (not necessarily wix code) because this is an important feature that can be used by many users :wink:

San

Must be related to pushing users to purchase the apps on the Wix store.

Hello @Ellie maybe but this specific plugin is not available in the wix store :confused:

Which is disappointing, because I need to be able to add Messenger window to my website to menage customer service. Damn it I so wanted to use Wix again. I need to find other provider. Or give up and learn Word Press.

Hey there,

I’m Eyal from the Wix Chat team.
Using the new track & analytics feature you are able to integrate custom code like the FB chat plugin to your site. Currently this feature is in rollout and you’ll be able to use it in case you live outside the US at the moment.

You’ll find it under your site settings:


I was able to connect the FB chat plugin using manychat.

One last thing: as the PM of Wix Chat I can’t help from offering you to give Wix Chat a go :slight_smile:
We’re completely integrated with your site and provide a smooth chat experience in desktop or on the go. Plus when customers book or purchase something on your site you’ll see it right in Wix chat so you can have the right context when you chat with customers.

Hope you’ll find this answer satisfying.

Best,
Eyal

Yes! Thank you, Eyal! I was able to add the plugin as well!

HI Eyal

When can we expect this to be available for WIX customers in the UK?

Also as your are the PM for WIX chat, do you know if lightbox activation can be linked to the database that is tracking users accessing the site (the same way WIX Chat does) so we can give personalised Lightboxes based on visit history?

CAN ANYONE POST A STEP BY STEP INSTAL GUID EOR VIDEO SHOWING THE STEPS EYAL DID TO GET THE FB CHAT WORKING?

Thank you all…

Hey Gary,

Unfortunately I can’t name the exact date for when this feature will be rolled out to all users.

Regarding your question about the personalised messaging based on visitors visit history - currently you can’t access this data with Wix Code. I can say that we’re thinking of ways to expose this data via a Wix Code api. Can’t put a data on this one as well.

As for the FB live chat integration - follow this procedure:

  1. Create an account with manychat.com and connect a FB page
  2. Add a new growth tool:


Then select the customer chat tool.

  1. Click on setup and whitelist your site u


Then copy the JS snippet. Don’t forget to save and activate the tool!

  1. Open your Wix site manager and select tracking & analyse:


5. Add a new tool to the head section and paste the JS:

  1. Check your site - the messenger live chat plugin should appear :sunglasses:

Let me know if it works for you.

Thanks a lot, it’s really cool :slight_smile:

Thank You Eyal

Actually my question was related to site visit history being used for lightbox activation. As WIX tracks visitors in a databace (this powers WIX mobile app visitor tracking) we could use this to trigger lighboxes to drive actions (second visit gets an offer, no checlout gets an offer, etc)

Hi Gary,

Currently the visitor data isn’t exposed via Wix Code.
To be frank, I’m adding this to our product wishlist right now following your request :slight_smile: . It’s a brilliant idea as you can create custom interactions based on the visitor status. Good thing that we have this community!

Keep em’ coming

Great - The visitor database is clearly being updated as visitors (new and old) come to a site and do things and should be exploited more. For example in WIX Hotels it tracks visitors and their room bookings over time so in theory we should beable to trget people who have booked more than 4 times with a VIP offer (even better a VIP experience on the WIX Website).

I assume the initail database entry is based on a device’s hardward address then it is filled out as the user interacts (like making a booking from the device using their name, email, phone details, etc (which gets added to the initial device entry on the database).

Do you know if it is the device address that creates the initial entry?

Have you heard if FB are going to buy Manychat?

Just be intersting to see what happens with Manychat when FB start rolling out direct Messenger integration to websites and bots that can be used by non programmers (outside of their API programme)?

Hey I am a full stack developer and I work in a team with non coders who decided to build a very nice looking website in Wix. However I feel like Wix is not developer friendly as I have been trying to add an AWS Lex bot into the site and I have been unable so far. Any help will be appreciated.

Regards