The Facebook Customer Chat custom tag template is an unofficial tag template for Google Tag Manager’s community template gallery.

Vendor documentation
Gallery entry
GitHub repo


This template implements the Facebook Customer Chat SDK on the website.

NOTE! You will still need to add the <div> element for the plugin by yourself (either in the page HTML or via GTM), as the custom template does not let you add DOM elements to the page.

Once the SDK is initialized, it loads the chat button on the page. Interactions with the chat are automatically pushed into dataLayer. You can enable or disable all available event handlers through the corresponding settings in the tag.

Release notes

Date Changeset
4 June 2020 Added option of changing SDK locale.
9 April 2020 Initial release.