Zum Hauptinhalt springen
Zurück zu Plugins
@capgo/capacitor-contentsquare
Tutorial
@capgo/capacitor-contentsquare

Contentsquare

Integriere Contentsquare-Mobil-Analytics, Zustimmungssteuerung, Bildschirm-Tracking, Transaktionen und Sitzung-Wiedergabe-Kontrollen in Capacitor

Richtlinie

Tutorial zu Contentsquare

Auf Gerät testen

Laden Sie die Capgo-App herunter, dann scannen Sie die QR-Code code.

Inhaltsquare-Plugin-Vorschau-QR code

Mit @capgo/capacitor-contentsquare

Internes native-Bridge-Vertragskontrakt implementiert durch Capacitor.

Installieren

bun add @capgo/capacitor-contentsquare
bunx cap sync

Was dieses Plugin offenlegt

  • optIn
  • optOut
  • sendScreenName
  • sendTransaction

Beispielverwendung

optIn

Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.

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

await Contentsquare.optIn();

optOut

Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.

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

await Contentsquare.optOut();

sendScreenName

Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.

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

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

sendTransaction

Siehe die aufsteigenden Definitionen für das aktuelle Vertragskontrakt.

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

await Contentsquare.sendTransaction({} as TransactionItem);

Vollständige Referenz

Weitermachen von Using @capgo/capacitor-contentsquare

Wenn Sie Using @capgo/capacitor-contentsquare zur Planung von native Plugin-Arbeiten, verbinden Sie es mit @capgo/capacitor-contentsquare für die Implementierungsdetails in @capgo/capacitor-contentsquare, Einstieg für die Implementierungsdetails in Einstieg, Capgo Plugin-Verzeichnis für den Produktworkflow in Capgo Plugin-Verzeichnis, Capacitor Plugins durch Capgo für die Implementierungsdetails in Capacitor Plugins durch Capgo, und Plugins hinzufügen oder aktualisieren für die Implementierungsdetails in Plugins hinzufügen oder aktualisieren.