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

Conversion Tracking

Conversion tracking

Each conversion type has two overloads — a short form and a long form that adds optional pathOverride, eventLabel, and eventValue parameters.

Short

Long

trackConversionPaywallWithType:

trackConversionPaywallWithType:pathOverride:eventLabel:eventValue:

trackConversionRegistrationWithType:

…:pathOverride:eventLabel:eventValue:

trackConversionNewsletterWithType:

…:pathOverride:eventLabel:eventValue:

trackConversionUnsubscribeWithType:

…:pathOverride:eventLabel:eventValue:

trackConversionOffersWithType:

…:pathOverride:eventLabel:eventValue:

trackConversionSurveysWithType:

…:pathOverride:eventLabel:eventValue:

trackConversionAccountCreationType:

…:pathOverride:eventLabel:eventValue:

trackConversionDownloadsType:

…:pathOverride:eventLabel:eventValue:

trackConversionDonationsType:

…:pathOverride:eventLabel:eventValue:

trackConversionPaymentsType:

…:pathOverride:eventLabel:eventValue:

trackConversionSearchType:

…:pathOverride:eventLabel:eventValue:

trackConversionSavesType:

…:pathOverride:eventLabel:eventValue:

Example — paywall complete with details:

[[CBTracker sharedTracker] trackConversionPaywallWithType:EventTypePaywallComplete
                                             pathOverride:@"/paywall/monthly"
                                               eventLabel:@"monthly-sub"
                                               eventValue:@"9.99"];

EventCategory

Offer, Survey, Paywall, Unsubscribe, Registration, UserProfileInfo, Download, Donation, NewsletterSignup, Cart, Payment, Search, Save, Custom.

Conversion-type enums

Four-state enums (Shown, Start, Complete, Cancel):

Enum

Prefix

PaywallType

EventTypePaywall…

RegistrationType

EventTypeRegistration…

NewsletterType

EventTypeNewsletterSignup…

UnsubscribeType

EventTypeUnsubscribe…

OfferType

EventTypeOffer…

SurveyType

EventTypeSurvey…

AccountCreationType

EventTypeUserProfile…

DonationsType

EventTypeDonation…

Three-state enums (Start, Complete, Cancel):

Enum

Prefix

DownloadsType

EventTypeDownload…

PaymentsType

EventTypePayment…

One-state enums (Complete only):

Enum

Case

SearchType

EventTypeSearchComplete

SavesType

EventTypeSaveComplete

Last updated

Was this helpful?