Conversion Tracking
Additional details about Conversion Tracking can be found here.
Chartbeat's Conversion Tracking supports the following events:
Subscriptions
Registrations
Newsletter Signups
Unsubscribes
Offers
Surveys
Account Creations
Downloads
Donations
Payments
Searches
Saves
Every conversion method takes a typed enum value plus an optional ConversionOptions bag (pathOverride, eventLabel, eventValue):
import Chartbeat, { PaywallType } from 'react-native-chartbeat';
Chartbeat.trackConversionPaywall(PaywallType.Shown);
Chartbeat.trackConversionPaywall(PaywallType.Complete, {
pathOverride: '/paywall/monthly',
eventLabel: 'monthly-sub',
eventValue: '9.99',
});All four-state conversion enums use the same values:
Enum
Shown
Start
Complete
Cancel
PaywallType
0
1
2
3
RegistrationType
0
1
2
3
NewsletterType
0
1
2
3
UnsubscribeType
0
1
2
3
OfferType
0
1
2
3
SurveyType
0
1
2
3
AccountCreationType
0
1
2
3
DonationType
0
1
2
3
Three-state enums (no Shown):
Enum
Start
Complete
Cancel
DownloadType
0
1
2
PaymentType
0
1
2
One-state enums:
Enum
Complete
SearchType
0
SaveType
0
Last updated
Was this helpful?