トラッキング
ユーザーアクティビティをトラッキングするためのメソッドについて説明します。
イベントのトラッキング
次の例に示すように、TrackEvent()メソッドを使用してイベントをトラッキングします。
data = CreateObject("roAssociativeArray")
data.someKey = "KEY_VALUE"
callback = CreateObject("roAssociativeArray")
callback.callBack = Function (event)
print "Callback called!"
responseHeaders = event.GetResponseHeaders()
responseKeys = responseHeaders.Keys()
responseCode = event.GetResponseCode()
for each key in responseKeys
value = responseHeaders[key]
print key + " : " + value
End for
End Function
teal.TrackEvent("EVENT_NAME", data, callback)
最終更新日 :: 2020年August月27日