メインコンテンツにスキップ
プラグインに戻る
@capgo/capacitor-contentsquare
チュートリアル
github.com/Cap-go によって

Contentsquare

CapacitorにContentsquareモバイル分析、同意ゲーティング、画面トラッキング、取引、セッション再生制御を統合する

ガイド

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

フルリファレンス

Capgoを使用している場合、@capgo/capacitor-contentsquareから続けてください。

Capgoを使用している場合、@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-contentsquareを使用しています。 Capgoを使用している場合、@capgo/capacitor-contentsquareを使用しています。 native プラグインの作業を計画するには、を接続する必要があります。 @capgo/capacitor-contentsquare @capgo/capacitor-contentsquare の実装詳細 Getting Started Getting Started の実装詳細 Capgo プラグイン ディレクトリ Capgo プラグイン ディレクトリ の製品ワークフロー Capacitor プラグイン ( Capgo によって提供 ) Capacitor プラグイン ( Capgo によって提供 ) の実装詳細 プラグインの追加または更新 プラグインの追加または更新 の実装詳細