Integrate Google Analytics
We’ll assume that you already know how to add tasks to a taskflow and have added the ‘Track an event’ Google Analytics task to your taskflow.
Integrating Google Analytics with Kotive happens in two steps:
1. Connect your Google Analytics account:
In your taskflow in Kotive, select the Google Analytics task and navigate to the Account details tab.
Select the green button that says Connect your Googleanalytics account now.
Name the account under Account label - the email address that you use for your Google Analytics account would work well as a way to identify it.
To locate your Tracking ID, log into your Google Analytics account.
Select the Admin tab.
Select an account from the dropdown in the ACCOUNT column.
Select a property from the dropdown in the PROPERTY column.
Under PROPERTY, click Tracking Info then Tracking Code.
Copy the Tracking ID.
Next, head back to your Kotive tab, and Paste your Tracking ID in the Tracking ID field. Click the green Save button in the bottom right-hand corner.
Your Google Analytic account has now been connected to your taskflow.
2. Setup the 'Track an event' Google Analytic task:
Select the Googleanalytics tab of the ‘Track an event’ Google Analytic task.
Under Category, name the category you want to group objects in that you want to track.
Under Action, name the action which is the type of event or interaction you want to track for a particular web object. For example, with a single “Videos” category, you can track a number of specific events with this parameter, such as: - “Play” button clicks, “Stop” button clicks, “Pause” button clicks etc.
Under Label, name the label which can be additional information for events that you want to track. E.g. movie title for the ‘video’ category.
Under Value, name the value This will assign a numerical value to a tracked page object. For example, you could use it to provide the time in seconds for a player to load.
Done! You have now fully integrated your Google Analytics account with your Kotive taskflow. When a taskflow runs, user interactions will be tracked as events within your linked Google Analytics account.
You can add conditions to your Google Analytics tasks in the same manner as with any of the other tasks in your taskflow.