Skip to content

Conversations · 1 min read

Track the Chat Widget in Google Analytics

Google Analytics 4 has to be on the same pages as the chat widget. The widget does not create an analytics property for you. The events are the same on a FunnelStreams site and on WordPress, Wix, Shopify, Squarespace, Duda, Weebly, or another site.

Before you start

  • Your Google Analytics 4 measurement tag is already in the page head, or in a tag manager.
  • You have the widget embed from Get Code. Do not paste a loader address from another product.
  • The tracked events are fixed: widget-open, widget-close, and form-submit. You cannot add your own event names.

Check that events arrive

  1. Install your Google Analytics 4 tag on the page.
  2. Go to Sites > Chat Widget, open the widget, and click Get Code.
  3. Paste that code on the page, in the body, below the analytics tag.
  4. Publish the page.
  5. Open the live page, open the widget, close it, and submit the chat form.
  6. In Google Analytics, open Events, or open DebugView while you test.

You should see

widget-open when the widget opens, widget-close when it closes, and form-submit when the chat form is submitted. They are categorized as chat. Events show for each page that has both the analytics tag and the widget.

Did this answer your question?

No, I need help

More in Conversations