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.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/rEuIm9pu0Phll13ej1wcc_image.png?format=webp)
You can create the Goals using the data from the Chat Complete or Form submitted.
In your Google analytics account, go to 'Admin' and then 'Goals'.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/J7Ddd4ZkgUhDQQug3PPgL_screenshot-2021-07-15-at-172504.png?format=webp)
Click on 'New Goal'.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/fRdvxJ9g1LqXgFvZCTqAp_image.png?format=webp)
Setup you goal, by using a Custom configuration.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/8e7k1Fq3hCR6a09mZKhKE_image.png?format=webp)
In the Goal description add a Name and select the Event type.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/ng-DEsSoPABJ2ptMp40Rt_image.png?format=webp)
In the goal detail add:
- Category: Serviceform
- Action: Chat complete
- Category: Serviceform
- Action: Popup lead
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/dFqBusHKcWP9fR_XSzWId_image.png?format=webp)
Save your Goal and it's all set.
Under Settings in the chatbot builder, you have the Notification settings, there, you can change the datalayers for both interactions or submissions.
![Document image Document image](https://images.archbee.com/SRR7Dw6jlnoj-xk5jLa7o/W_3nXSa1dfEdAAGqXzRW9_image.png?format=webp)
For this you'll need to have basic undestanding of coding.
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”.
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:
Do as many options as you like.
![Doc contributor](https://s3.amazonaws.com/archbee-animals/cat.png)