메인 콘텐츠로 건너뛰기
플러그인으로 돌아가기
@capgo/capacitor-contentsquare
튜토리얼
github.com/Cap-go에서 github

Contentsquare

Capacitor에서 Contentsquare 모바일 분석, 동의 게이트, 화면 추적, 거래, 세션 재생 제어를 통합합니다.

Guide

Contentsquare에 대한 튜토리얼

Contentsquare를 사용하는 방법: @capgo/capacitor-contentsquare

Capacitor에서 내부 네이티브 브리지 계약을 implement했습니다.

설치

bun add @capgo/capacitor-contentsquare
bunx cap sync

이 플러그인이 노출하는 것

  • optIn
  • optOut
  • sendScreenName
  • sendTransaction

예제 사용

optIn

__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.

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

await Contentsquare.optIn();

optOut

__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.

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

await Contentsquare.optOut();

sendScreenName

__CAPGO_KEEP_0__에서 현재 계약에 대한 상위stream 정의를 참조하세요.

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

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

sendTransaction

__CAPGO_KEEP_0__:

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

await Contentsquare.sendTransaction({} as TransactionItem);

Full Reference