본문으로 바로가기
Back to 플러그인
@capgo/capacitor-Contentsquare
튜토리얼
@capgo/capacitor-Contentsquare

Contentsquare

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

Guide

Contentsquare에 대한 튜토리얼

장치에서 테스트

다운로드한 Capgo 앱에서 QR코드 code를 스캔하세요.

내용 분석 플러그인 미리보기 QR code

@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에서 계속하세요.

__CAPGO_KEEP_0__을 사용하시는 경우 @capgo/capacitor-contentsquare을 사용하여 __CAPGO_KEEP_0__을 사용하여 네이티브 플러그인 작업을 계획하고 연결하려면 @capgo/capacitor-contentsquare을 사용하여 for the implementation detail in @capgo/capacitor-contentsquare, Getting Started __CAPGO_KEEP_0__ Plugin Directory에서 제품 워크플로우를 확인하세요. Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo의 구현 세부 사항에 대해 플러그인 추가 또는 업데이트 플러그인 추가 또는 업데이트의 구현 세부 사항에 대해