Integrations
Google Analytics
11min
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 window\ sfgaoptions = { eventcategory 'chatbot option', eventaction 'click', eventlabel 'buyers', transport 'beacon' } and this for recruiting window\ sfgaoptions = { eventcategory 'chatbot option', eventaction 'click', eventlabel 'recruiting', transport 'beacon' } 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 if (typeof ga === 'function') { if ("ga" in window) { tracker = ga getall(); for (var i = 0; i < tracker length; i++) { if (tracker\[i]) { tracker\[i] send('event', sfgaoptions); } } } } do as many options as you like