# Conversion Tracking

#### Conversion tracking

Each conversion type has two overloads — a short form and a long form that adds [optional](https://docs.chartbeat.com/cbp/feature-integrations/conversion/conversion-events#event-parameters) `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:**

```objective-c
[[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   |

#### EventType (general)

EventTypeAdd, EventTypeRemove, EventTypeChangeQuantity, EventTypeShown, EventTypeStart, EventTypeComplete, EventTypeCancel.

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chartbeat.com/cbp/tracking/mobile-app-sdks/ios-sdk/conversion-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
