iOS

Articles

Install the iOS SDK
This documentation guides you through setting up and implementing the iOS SDK. Prerequisites You must have CocoaPods installed to set up this SDK. Refer to CocoaPods Getting Started for more information. Installing the iOS S...
SDK Objects
The SDK consists of the following classes. Personalization Class Personalization is the main class. You can use an instance of this to invoke the different methods of SDK. import Foundation import monetate_ios_sdk Create...
SDK Methods
The following methods are available to use in the SDK. All methods are part of the personalization class. For parameters that require event names, refer to SDK Events and Action Types for syntax. report Reports an event to Monetate. This allo...
SDK Event and Action Types
This article describes how to access event and action types. Events The available events are as follows: RecordImpressions RecordPageEvents RecordRecClicks RecordRecImpressions ContextIpAddress ContextCustomVar...
SDK Event Details
This article provides details and descriptions for the event JSON objects. Required attributes are in bold. monetate:context:ipAddress Attribute Description eventType: String Identifies the type of event. U...
iOS Event Code Samples
The following events are available to use. Metadata Event Example import UIKit import monetate_ios_sdk @main class AppDelegate: UIResponder, UIApplicationDelegate { let requestId = "123456" var window: UIWindow? final...