パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.1.0

matomo

Flutter向けのクロスプラットフォームMatomoトラッキング、Matomo APIを使用し、純粋なDartで記述されています。

AndroidiOS
30日間ダウンロード
383
いいね数
30
Pub ポイント
130

パッケージをインストール

flutter pub add matomo

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

モバイルアプリケーションにMatomo分析を統合するためのクロスプラットフォームなFlutterパッケージで、Matomo APIを介してイベントトラッキングとユーザー行動の監視が可能になります。Dartのみで完全に構築されており、AndroidおよびiOSの両方のプラットフォームをサポートし、ネイティブコードなしでプライバシー重視の分析を実装したい開発者向けに軽量かつ効率的なソリューションを提供します。このパッケージは、Matomoのサーバーサイドトラッキングインフラストラクチャとの統合を簡素化し、デバイス間での一貫したデータ収集を保証します。

用途

  • モバイルアプリにおけるユーザーインタラクションの追跡
  • アプリのパフォーマンスとエンゲージメントのモニタリング
  • カスタムイベントと目的の収集
  • 既存のMatomo分析ダッシュボードとの統合
  • GDPR準拠のデータ収集をサポート

主な機能

  • 純粋なDart実装
  • クロスプラットフォーム対応(Android および iOS)
  • Matomo API の互換性
  • イベントおよびゴールのトラッキング
  • 軽量で統合が簡単

適している対象

  • Matomo分析を使用するFlutter開発者
  • プライバシーに配慮した追跡を必要とするアプリ
  • 複数のプラットフォーム間で一貫した分析が必要なプロジェクト
  • Matomoサーバーを介して分析を管理するチーム
  • ネイティブプラットフォーム固有のコードを避ける開発者

注意事項

  • 実行中の Matomo インスタンスが必要です
  • Matomo 固有の機能に限定
  • パッケージ内にリアルタイムダッシュボードはありません
  • Matomo API の利用可能性および構成に依存します
  • 高度なトラッキングシナリオ用の手動設定

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

matomo

A Dart Client for Matomo. This is completely written in Dart and works cross-platform, including web.

Getting Started

dependencies:
    matomo: ^1.1.0

As early as possible in your application, you need to configure the Matomo Tracker to pass the URL endpoint of your instance and your Site ID.

    await MatomoTracker().initialize(
        siteId: siteId,
        url: 'https://example.com/piwik.php',
    );

If you need to use your own Visitor ID, you can pass it at the initialization of MatomoTracker as is:

    await MatomoTracker().initialize(
        siteId: siteId,
        url: 'https://example.com/piwik.php',
        visitorId: 'customer_1',
    );

To track views simply replace StatelessWidget by TraceableStatelessWidget, StatefulWidget by TraceableStatefulWidget and finally InheritedWidget by TraceableInheritedWidget.

You can also optionally call directly trackScreen or trackScreenWithName to track a view.

For tracking goals and, events call trackGoal and trackEvent respectively.

A value can be passed for events:

MatomoTracker().trackEvent('eventName', 'eventAction', eventValue='eventValue');

Opting Out

If you want to offer a way for the user to opt out of analytics, you can use the setOptOut() call.

MatomoTracker().setOptOut(true);

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。