ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.88k forks source link

Google Business Messages component for AMP #33026

Open SimonHogstromRonbol opened 3 years ago

SimonHogstromRonbol commented 3 years ago

Describe the new feature or change to an existing feature you'd like to see

Hi, i brought this up on slack and was directed to make an issue about it.

Online chat service support is something that we have a lot of clients requesting, especially recently. Currently, the solution we've come up with is having the chat widget run in an iframe on the site.

The problem with the iframe solution is that it isn't very flexible, and you often end up with a janky semi solution.

So I saw an ad yesterday for Google Business Messages, and it looks like instead of it being something that our clients would have to request from us and get a janky solution, we could instead actually provide a first party solution for AMP with an integrated "Google Business Messages" widget directly on the website.

Then I realized that there wasn't such a component yet, for the website widget and that brings me here.

Is there a Google Business Messages component being worked on, or is it something you would consider supporting in the future?

Describe alternatives you've considered

We've tried using Zendesk for a live chat, and we came pretty close with an iframe solution, we made a button that looked like a Zendesk button that opens an iframe with the chat widget expanded inside, but the solution is a little too janky cause the button is supposed to have different text dependent on different factors in your zendesk app, and it all becomes very messy, fast.

here is the widget on a site in production, note that there is a mandatory delay before the widget shows up.

Additional context

here is the current integration documentation for implementing the Google Business Messages website on a non-amp site: https://developers.google.com/business-communications/business-messages/guides/build/web-widget

@erwinmombay

erwinmombay commented 3 years ago

thanks @krdwan . leaving this for your team to triage