For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conversion Tracking

Additional details about Conversion Tracking can be found here.

Chartbeat's Conversion Tracking supports the following events:

  • Subscriptions (Paywall)

  • Registrations

  • Newsletter Signups

  • Unsubscribes

  • Offers

  • Surveys

  • Account Creations

  • Downloads

  • Donations

  • Payments

  • Searches

  • Saves

Every category has two overloads — short form (type only) and long form with optional parameters (pathOverride, eventLabel, eventValue).

import com.chartbeat.androidsdk.ConversionEvent;

Tracker.trackConversionPaywall(ConversionEvent.PaywallType.SHOWN);

Tracker.trackConversionPaywall(
    ConversionEvent.PaywallType.COMPLETE,
    "/paywall/monthly",   // pathOverride
    "monthly-sub",        // eventLabel
    "9.99"                // eventValue
);

The different conversion types (e.g. PaywallType, RegistrationType) are called with the relevant event state (e.g. Shown, Complete - see full details below) when an event occurs (e.g. a paywall appears, a newsletter signup form is submitted).

Method

Enum

trackConversionPaywall(...)

ConversionEvent.PaywallType

trackConversionRegistration(...)

ConversionEvent.RegistrationType

trackConversionNewsletter(...)

ConversionEvent.NewsletterType

trackConversionUnsubscribe(...)

ConversionEvent.UnsubscribeType

trackConversionOffer(...)

ConversionEvent.OfferType

trackConversionSurvey(...)

ConversionEvent.SurveyType

trackConversionAccountCreation(...)

ConversionEvent.AccountCreationType

trackConversionDownload(...)

ConversionEvent.DownloadsType

trackConversionDonation(...)

ConversionEvent.DonationsType

trackConversionCart(...)

ConversionEvent.CartType

trackConversionPayment(...)

ConversionEvent.PaymentsType

trackConversionSearch(...)

ConversionEvent.SearchType

trackConversionSave(...)

ConversionEvent.SavesType

Conversion Event Types and Available States

Available state types for each type of conversion event category:

Four-state types (SHOWN, START, COMPLETE, CANCEL)

PaywallType, RegistrationType, NewsletterType, UnsubscribeType, OfferType, SurveyType, AccountCreationType, DonationsType

Three-state types (START, COMPLETE, CANCEL)

DownloadsType, PaymentsType

One-state types (COMPLETE only)

SearchType, SavesType

Last updated

Was this helpful?