Firing Google Analytics custom event by Chat bot+

In ChatPlus, you can fire Google Analytics custom event by Chat bot+.
If you want to fire events on a regular basis, you can set from link with external app>GoogleAnalytics. If you want to fire more customized event when a condition was met, you can set it from Chat bot+. Here, it explains how to fire Google Analytics custom event using Chat bot+.

Setting

(1)Click the setting button on the upper right of the management page.


(2)Click [Chat]>[Function]>[Chat bot+] on the left side of the screen.


(3)Click [Add parts]


(4)Enter "Part's name" and "Detail"
※Leave the box at the top right "ID" empty, it will automatically be filled when Chat bot+ is created.


(5)In the section "Action", click [Fire event] from the pull down.


(6)Click [GA (GoogleAnalytics)] from the fist box, and enter event's name in the box below.


(7)Enter code below in the box.

{ "hitType": "event", "eventCategory": "Chatplus", "eventAction": "conversion", "eventLabel": "*", "eventValue": "1" }

・"hitType"、"eventCategory"、"eventAction" are necessary.
・In "eventValue", put down integral number.
・It needs to be JSON format.
・The content order is arbitrary.
※For more information about events, please refer to here.

(8)You can run other commands other than "event" by entering other hitType. Below is the example of hitType. For more information about this, please refer to here.


(9)Click [Update]


(10)From the list of Chat bot+ rules, click [ON] of the set rule. By doing that, you can fire designated event when the activation rules are met.
※Click and it will switch [ON/OFF]

シェアする

フォローする

  • RSSを