Skip to main content
プラグインに戻る
@capgo/capacitor-contentsquare
チュートリアル
@capgo/capacitor-contentsquare

Contentsquare

Integrate Contentsquare mobile analytics, consent gating, screen tracking, transactions, and session replay controls in Capacitor

ガイド

Contentsquareのチュートリアル

デバイスでテスト

Download the Capgo app, then scan the QR code.

Contentsquare プラグイン プレビュー QR code

Contentsquare プラグインを使用するには @capgo/capacitor-contentsquare

Capacitor によって実装された内部ネイティブ ブリッジ コントラクト

インストール

bun add @capgo/capacitor-contentsquare
bunx cap sync

このプラグインが公開するもの

  • optIn
  • optOut
  • sendScreenName
  • sendTransaction

使用例

optIn

現在のコントラクトのアップストリーム定義を参照してください。

import { Contentsquare } from '@capgo/capacitor-contentsquare';

await Contentsquare.optIn();

optOut

現在のコントラクトのアップストリーム定義を参照してください。

import { Contentsquare } from '@capgo/capacitor-contentsquare';

await Contentsquare.optOut();

sendScreenName

現在のコントラクトのアップストリーム定義を参照してください。

import { Contentsquare } from '@capgo/capacitor-contentsquare';

await Contentsquare.sendScreenName({} as { name: string });

sendTransaction

現在のコントラクトのアップストリーム定義を参照してください。

import { Contentsquare } from '@capgo/capacitor-contentsquare';

await Contentsquare.sendTransaction({} as TransactionItem);

フル リファレンス

Keep going from Using @capgo/capacitor-contentsquare

Capacitor Contentsquare を使用している場合 Using @capgo/capacitor-contentsquare Capacitor Contentsquare を使用して、ネイティブ プラグインの作業計画を立てる @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, Capacitor Contentsquare を使用して、ネイティブ プラグインの作業計画を立てる Capacitor Contentsquare を使用して、ネイティブ プラグインの作業計画を立てる Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Capgo Capacitor Capgoの実装詳細については プラグインの追加または更新 プラグインの追加または更新の実装詳細については