メインコンテンツにジャンプ
プラグインに戻る
@capgo/capacitor-contentsquare
チュートリアル
@capgo/capacitor-contentsquare

Contentsquare

Capacitor を使用して、Contentsquare のモバイル アナリティクス、同意ゲーティング、スクリーン トラッキング、トランザクション、セッション リプレイの制御を Capacitor に統合します。

ガイド

Contentsquare のチュートリアル

デバイスでテスト

Capgo アプリをダウンロードし、QR コード code をスキャンしてください。

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

Using @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);

フルリファレンス

Using @capgo/capacitor-contentsquare

あなたが使用している Using @capgo/capacitor-contentsquare native プラグインの作業を計画するには、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-contentsquare @capgo/capacitor-contentsquare @capgo/capacitor-contentsquare の実装詳細については、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-contentsquare を参照してください。 Capgo プラグイン ディレクトリ Capgo製品ワークフロー用のプラグインディレクトリ Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and __CAPGO_KEEP_0__ プラグインの追加または更新 __CAPGO_KEEP_0__ プラグインの追加または更新の実装詳細