Google Analytics Integration With Formilla Live Chat

Google Analytics is a free web tool which gives you a wealth of information about your website visitors, including where they’re from, how they find your website, what pages they visit, how long they visit, along with a ton of other information.

Integrating your Formilla.com account with Google Analytics will give you a better understanding of how visitors are interacting with Formilla on your website. It’s also useful for guiding your automated marketing campaigns, since the more data you have about your site visitors, the more effectively you will be able to market to them.

If you’re not using Google Analytics on your website, it’s really simple to install and you can find out how to set it up by clicking here.

Note: If you’re using Formilla with a Wix website, Google Analytics integration is not supported.

How to Integrate Google Analytics with Formilla Live Chat:

All accounts are able to utilize the Google Analytics integration with Formilla.com.

  1. Login to your Formilla dashboard and mouse-over “Settings” from the left menu and then click “My Apps” from the sub-menu.
  2. You will see several apps available to add. Click on the “Add App” button below the Google Analytics logo and text.
    step-2
  3. You will then be prompted to add a Google Tracking ID.
    ga-modal

Steps to get Google Tracking ID from Google Analytics 4

  1. To retrieve your Google Tracking ID, go to your Google Analytics account and click on “Admin”. Under “Property” on the right-hand side, you will see a “Data Streams” option, click on that, then select the Web tab and click on the proper data stream.
    screenshot-2022-07-06-003704
    screenshot-2022-07-06-004113
  2. Copy and paste the text under “MEASUREMENT  ID” — which usually starts with “G-” — into your Formilla account. Once complete, press “Save”. You’re almost done; please see the next step if you’re using Google Tag Manager (GTM).
    screenshot-2022-07-06-004307
  3. If you’re using Google Analytics 4 with GTM, you also need to add the global site tag (gtag.js) to your website in order to support Formilla events. Google requires this step if you need the ability to work with tags directly in JavaScript, which Formilla uses when posting events.

Learn how to install gtag.js on your website. Note: pay special attention to the section “Disable pageview measurement” to avoid mistakenly sending multiple pageview events

Once you’ve completed all the above steps, congratulations! You have successfully integrated Google Analytics with your Formilla account.

Steps to get Google Tracking ID from Universal Google Analytics

  1. To retrieve your Google Tracking ID, go to your Google Analytics account and click on “Admin”. Under “Property” you will see a “Tracking Info” option, click on “Tracking Code.”
    ga-screenshot-4-1024x483
  2. Copy and paste the text under “Tracking ID” — which usually starts with “UA” — into your Formilla account. Once complete, press, “Save.” Now you have successfully integrated Google Analytics with your Formilla account.
    ga-screenshot-5-e1488506064500

Integrating With Multiple Google Analytics Accounts

If you have Formilla installed on multiple websites and you need to add multiple Tracking IDs, you can enter Tracking IDs for each widget that you have created.  These will override the Tracking ID that you pasted into the My Apps section.

  1. Click on Settings, then Widgets, then on the Edit icon next to the widget you need to add a different Tracking ID for.
    multiple-step-1
  2. Go to the Advanced Options tab.  At the bottom of this section you will see a space to enter in a Google Tracking ID that will apply to this specific chat widget.  Click on Save Changes once you have pasted in your Tracking ID.
    multiple-step-2

Upon adding and configuring the app, you’ll start to see the following Formilla events inside of your Google Analytics account (assuming they occur) by navigating to Behavior –> Events –> Top Events –> and select Formilla_Chat or Formilla_Edge.

Formilla_Chat Events:

User_Clicked_Chat_Btn:
A visitor clicked the chat button on your website which opened the online chat widget popup.

User_Clicked_Offline_Btn:
A visitor clicked the chat button on your website which opened the offline chat widget popup.

User_Started_Chat:
A visitor on your website started a chat by sending a chat message.

Prechat_Contact_Info_Collected:
A visitor submitted at least their Email Address or Phone Number to start a chat.

Conversation:
A visitor and chat agent exchanged at least one chat message each, resulting in a conversation.

Smart_Message_Displayed:
The system displayed a Chat Smart Message (proactive chat) popup to the visitor on your website.  The Smart Message name will be included with this event.

User_Responded_To_Smart_Message:
A visitor sent a chat message in response to a Chat Smart Message (proactive chat) popup.  The Smart Message name will be included with this event.

Smart_Message_Clicked:
A visitor clicked a link on your Chat Smart Message (proactive chat) popup.  The Smart Message name will be included with this event.

Agent_Requested_Chat:
An agent clicked ‘Request Chat’ from the dashboard, which resulted in the chat widget pop-up displaying to the visitor.  Ex: Hello, how may I help you today?

User_Responded_To_Chat_Request:
A visitor sent a chat message in response to a chat agent’s requested chat.

Formilla_Edge Events

If you’re using In-App Smart Messages (available with the Growth package), you’ll see the following events tracked under the event category of Formilla_Edge.

Smart_Message_Displayed:
The system displayed an In-App Smart Message (popup) to the visitor on your website.  The Smart Message name will be included with this event.

Smart_Message_Clicked:
A visitor clicked the button (CTA) on your In-App Smart Message (popup) or an HTML link within the message body. The Smart Message name will be included with this event.

In case you’re also using the Formilla Lead Widgets app, these events will be tracked as well:
Email_LightboxPopup_Display
Email_LightboxPopup_Conversion
Facebook_WebsiteBar_Display
Facebook_WebsiteBar_Conversion
Twitter_CornerWidget_Display
Twitter_CornerWidget_Conversion

screenshot-2022-07-06-020109

And there you have it! Anytime a visitor interacts with your Formilla widget/s, you’ll be able to keep track of events, and analyze trends to see what works best for your website.

Google Analytics 4: Creating Conversions (Goals) from Formilla Events

To create a conversion from a ‘Conversation’ event (or other events) inside of Google Analytics, you can go to Configuration inside your Google Analytics account, then go to Events and find an existing event such as ‘Conversation’, and mark it as a conversion with the toggle you see below on the right-hand side.

screenshot-2022-07-06-174443

Now go to ‘Conversions’ and you will find the event(s) which you’ve marked as conversions.

screenshot-2022-07-06-174702

Universal Google Analytics: Creating Goals from Formilla Events

To create a goal from a ‘Conversation’ event (or other events) inside of Google Analytics, you can go to Settings inside your Google Analytics account, then go to Goals –> New Goal –> Custom as shown in the photos below.

setup-1-e1577396054624

ga6-4

setup-3-e1577396182795

As always, please contact us if you have any questions as we’re always willing to help!

Join the Formilla blog!

We offer actionable advice about live chat, chat bots, marketing automation, customer service, and sales. Sign up and we'll send you the best of the blog, from articles to infographics, every two weeks.

100% privacy. Unsubscribe any time.