본 콘텐츠로 바로가기
플러그인으로 돌아가기
@capgo/capacitor-contentsquare
튜토리얼
@capgo/capacitor-contentsquare

컨텐츠스퀘어

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

장치에서 테스트

다운로드한 __CAPGO_KEEP_0__ 앱을 열고 QR코드 __CAPGO_KEEP_1__를 스캔하세요.

애플 스토어에서 __CAPGO_KEEP_0__ 다운로드

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

현재 계약의 상위stream 정의를 참조하십시오.

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

await Contentsquare.optIn();

optOut

현재 계약의 상위stream 정의를 참조하십시오.

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

await Contentsquare.optOut();

sendScreenName

현재 계약의 상위stream 정의를 참조하십시오.

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

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

sendTransaction

현재 계약의 상위stream 정의를 참조하십시오.

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

await Contentsquare.sendTransaction({} as TransactionItem);

전체 참조

Using @capgo/capacitor-contentsquare

이러한 기능을 사용 중이라면 Using @capgo/capacitor-contentsquare @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-contentsquare 을 사용하여 native 플러그인 작업을 계획하고, @capgo/capacitor-contentsquare for the implementation detail in @capgo/capacitor-contentsquare, Getting Started Getting Started Capgo Plugin Directory Capgo 제품 워크플로우에 대한 Capgo 플러그인 디렉토리 Capacitor Plugins by Capgo Capgo 플러그인에 대한 구현 세부 정보는 Capacitor 플러그인에 Capgo에 의해 제공됩니다. Capgo 플러그인 추가 또는 업데이트 Capgo 플러그인 추가 또는 업데이트에 대한 구현 세부 정보입니다.