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

Contentsquare

Capacitor で Contentsquare モバイル アナリティクス、同意ゲーティング、スクリーン トラッキング、トランザクション、セッション リプレイ コントロールを統合する

ガイド

Contentsquareのチュートリアル

デバイスでテスト

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

コンテンツクエア プラグイン プレビュー QR code

@capgo/capacitor-コンテンツクエアを使用します

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

Capgoを使用している場合 Using @capgo/capacitor-contentsquare Capgoを使用して、 @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, Capacitorプラグインの実装詳細を確認するにはCapacitorプラグインを参照してください。 Capgoプラグインディレクトリ Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, and __CAPGO_KEEP_0__ プラグイン __CAPGO_KEEP_1__ によって