Google Analytics
All the information collected from the Serviceform tools will be automatically sent to the Google Analytics Account connected to the website. The information will firstly go to Events.

You can create the Goals using the data from the Chat Complete or Form submitted.
Create Goals in Google Analytics using an Event
In your Google analytics account, go to 'Admin' and then 'Goals'.

Click on 'New Goal'.

Setup you goal, by using a Custom configuration.

In the Goal description add a Name and select the Event type.

In the goal detail add:
For chatbots
- Category: Serviceform
- Action: Chat complete
For popups
- Category: Serviceform
- Action: Popup lead

Save your Goal and it's all set.
Change the Event name on your chatbot
Under Settings in the chatbot builder, you have the Notification settings, there, you can change the datalayers for both interactions or submissions.

Create Goals in Google Analytics using different chatbot options
For this you'll need to have basic undestanding of coding.
1. Think of the use cases that you need
Let’s say you want to seat as a goal “users who finished the submission and are interested in buying” or “users who finished the submission and are interested in recruitment processes”.
2. Add the Javascript
In the select one type of question paste the code in the Custom Javascript field, under the option 'show advanced seetings'. For example, this for buyers:
And this for recruiting:
3. Change the eventLabel according to the name you want to be displayed in GA
4. Paste this at the end of the bot in Custom JS, under Settings
Do as many options as you like.
