0
0

More than 1 year has passed since last update.

Karteでのカスタムイベント送信方法

Posted at

はじめに

今回はイベント収集サービスであるKarteでのカスタムイベント送信方法を紹介していきます

本文

eventTypeには送信したいイベントの種別を、keyにはパラメータ名を渡します

fun sendKarteCustomEvent(
        eventType: String,
        params: Map<String, Any>? = null,
    ) {
        Tracker.track(eventType, params?.mapKeys { it.key })
    }

最後に

最近Karteを使い始めたので備忘録用に記事にしました
どなたかのお役に立てれば幸いです

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0