Getting Started
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설정 지시문을 복사하세요.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-contentsquare`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/contentsquare/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
AI-Assisted Setup을 사용하여 플러그인을 설치할 수 있습니다. AI 도구에 Capgo 스킬을 추가하려면 다음 명령어를 사용하세요:
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins다음과 같은 프롬프트를 사용하세요:
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-contentsquare` plugin in my project.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래에 플랫폼에 따라 설명된 지침을 따르세요:
-
__CAPGO_KEEP_0__
__CAPGO_KEEP_0__ npm i @capgo/capacitor-contentsquare__CAPGO_KEEP_0__ pnpm add @capgo/capacitor-contentsquare__CAPGO_KEEP_0__ yarn add @capgo/capacitor-contentsquare__CAPGO_KEEP_0__ bun add @capgo/capacitor-contentsquare -
원시 플랫폼 동기화
터미널 창 npx cap sync터미널 창 pnpm cap sync터미널 창 yarn cap sync__CAPGO_KEEP_0__ bunx cap sync -
__CAPGO_KEEP_0__
__CAPGO_KEEP_0__ Capacitor __CAPGO_KEEP_0__
__CAPGO_KEEP_0__
__CAPGO_KEEP_0__import { ContentsquarePlugin, CurrencyCode } from '@capgo/capacitor-contentsquare';
await ContentsquarePlugin.optIn();
await ContentsquarePlugin.sendScreenName('Home');
await ContentsquarePlugin.sendTransaction({ transactionValue: 29.99, transactionCurrency: CurrencyCode.EUR, transactionId: 'order-123',});
await ContentsquarePlugin.sendDynamicVar({ dynVarKey: 'store', dynVarValue: 'rome',});__CAPGO_KEEP_0__
__CAPGO_KEEP_0__- __CAPGO_KEEP_0__
- iOS와 Android 네비게이션 스택에서 동일한 이름 규칙을 유지하세요.
- 앱이 전면으로 돌아오면 스크린 이름과 중요한 동적 변수를 다시 보내세요.
개인 정보 보호 제어를 재생하세요.
개인 정보 보호 제어 재생내장된 마스킹 헬퍼를 사용하여 세션 리플레이에서敏感한 콘텐츠를 유지하세요.
await ContentsquarePlugin.excludeURLForReplay('/checkout/');
await ContentsquarePlugin.setCapturedElementsSelector('[data-cs-capture]');
await ContentsquarePlugin.setPIISelectors({ PIISelectors: ['input[type="email"]', '.credit-card'], Attributes: [{ selector: 'input[name="email"]', attrName: 'value' }],});플랫폼 설정
플랫폼 설정- iOS 인앱 기능에서 추가적인 deeplink wiring을 완료하세요. iOS 설정 페이지.
- Android는 플러그인 자체에 대한 추가 매니페스트 wiring이 필요하지 않습니다. 플러그인에 대한 자세한 내용은 참조하세요. 안드로이드 노트 로깅 및 유효성 검사 팁에 대한 정보.
- 이 플러그인은 공식 Contentsquare Capacitor 패키지의 Capacitor 8 커뮤니티 포트입니다.
- 자바스크립트 API는 현재 Contentsquare Capacitor 문서와 동기화되며, 패키징 및 네이티브 빌드 설정은 Capacitor 8을 목표로 합니다.
시작하기
시작하기 섹션이 플러그인을 사용하는 경우 시작하기 네이티브 플러그인 작업을 계획하는 경우, __CAPGO_KEEP_0__와 __CAPGO_KEEP_1__을 연결하세요. Using @capgo/capacitor-contentsquare capgo의 원시 기능을 위한 @capgo/capacitor-contentsquare에서 사용하는 방법 Capgo 플러그인 디렉토리 Capgo 플러그인 디렉토리에서 제품 워크플로우를 위한 Capacitor 플러그인들에 의해 Capgo Capacitor 플러그인들에 의해 Capgo에서 구현 세부 사항을 위한 플러그인을 추가하거나 업데이트하는 방법 플러그인을 추가하거나 업데이트하는 방법의 구현 세부 사항을 위한, 아이오닉 엔터프라이즈 플러그인 대체 아이오닉 엔터프라이즈 플러그인 대체의 제품 워크플로우를 위한