mFilterIt iOS EventTracking

This guide details the steps to integrate the MFilterIt Event tracking into an iOS App.

Getting Started

Integrating the mFilterIt Event Tracking solution into an app includes framework integration and sharing event details with the framework.

Event Tracking Integration

The integration of this feature can be done by following below steps:

Step 1 : Integrate the mFilterIt iOS framework.

Step 2 : Pass event details using this method:

[[MFAnalytics sharedAnalytics] track:EventType

                              properties:eventArray];

Example :

[[MFAnalytics sharedAnalytics] track:@"ReferralEvent"

                              properties:{ @"event1": @"value1", @"event2": @"value2" }];

Note: For following events, one should follow an specific convention:

ReferralEvent: This event is meant for realtime fraud detection and removal of bad traffic for referral events. eventType should be written as- ReferralEvent. s2s event will be triggered for fraud information to be sent on configured url.

S2S integration for passing fraud information:

mFilterIt supports a real time interface for passing fraud information back to the client’s backend to allow quick decision making for business aspects. The interface supported is a HTTPS GET URL which triggers the Client endpoint with the relevant information.

The fields supported are : -Fraud Category -Fraud Risk Score -Event TransactionID -Device_Id -Phone Number -Email ID -mfilterIt Event ID -Registration ID -Optional_1

The client needs to provide the endpoint on which mFilterIt will trigger the S2S hit. It is recommended to whitelist certain IP ranges of mFilterIt to prevent malicious hits to this endpoint.

Step 4 : The below import statement needs to be added to the corresponding files (if needed).

#import <Mfilterit/Mfilterit.h>

Last updated