{"id":20340166,"url":"https://github.com/webengage/analytics-ios-integration-webengage","last_synced_at":"2026-05-09T11:35:02.331Z","repository":{"id":25138627,"uuid":"95224079","full_name":"WebEngage/analytics-ios-integration-webengage","owner":"WebEngage","description":"WebEngage Wrapper for Segment's Analytics iOS SDK","archived":false,"fork":false,"pushed_at":"2023-08-16T13:35:22.000Z","size":31023,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T23:45:38.198Z","etag":null,"topics":["framework","retention","sdk","segment","webengage"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebEngage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-23T13:46:05.000Z","updated_at":"2022-12-14T22:43:07.000Z","dependencies_parsed_at":"2025-01-14T17:29:46.710Z","dependency_job_id":"308413e9-dd70-4284-ad1c-553304f2e6ec","html_url":"https://github.com/WebEngage/analytics-ios-integration-webengage","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fanalytics-ios-integration-webengage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fanalytics-ios-integration-webengage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fanalytics-ios-integration-webengage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebEngage%2Fanalytics-ios-integration-webengage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebEngage","download_url":"https://codeload.github.com/WebEngage/analytics-ios-integration-webengage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241867649,"owners_count":20033815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["framework","retention","sdk","segment","webengage"],"created_at":"2024-11-14T21:20:05.353Z","updated_at":"2025-12-02T11:04:38.291Z","avatar_url":"https://github.com/WebEngage.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Segment-Integration-iOS](https://docs.webengage.com/docs/segment)\n\n[![Version](https://img.shields.io/cocoapods/v/Segment-WebEngage.svg?style=flat)](http://cocoapods.org/pods/Segment-WebEngage)\n[![License](https://img.shields.io/cocoapods/l/Segment-WebEngage.svg?style=flat)](http://cocoapods.org/pods/Segment-WebEngage)\n[![Platform](https://img.shields.io/cocoapods/p/Segment-WebEngage.svg)](https://cocoapods.org/pods/Segment-WebEngage)\n[![LastUpdated](https://img.shields.io/github/last-commit/WebEngage/analytics-ios-integration-webengage.svg)](https://cocoapods.org/pods/Segment-WebEngage)\n\n\nWebEngage integration for Segment's [analytics-ios SDK](https://github.com/segmentio/analytics-ios).\n\nCheck out more information [here](https://docs.webengage.com/docs/segment).\n\n## Installation\n\nTo install the Segment-WebEngage integration, simply add this line to your `Podfile`:\n\n```ruby\n# Avoid use_frameworks! declaration in your Podfile\npod \"Segment-WebEngage\"\n```\n\n## Usage\n\nAfter adding the dependency, you must register the integration with our SDK.  To do this, import the WebEngage integration in your `AppDelegate`:\n\n```\n#import \u003cSegment-WebEngage/WEGSegmentIntegrationFactory.h\u003e\n```\n\nAnd add the following lines to your AppDelegate's application:didFinishLaunching:WithOptions: method\n\n```\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n\n    //Initialize Segment\n    SEGAnalyticsConfiguration *configuration = [SEGAnalyticsConfiguration configurationWithWriteKey:@\"XXXXXXXXXXXXXXXXXXXXXXXXXXX\"];\n\n    //Additional Segment Configuration\n    configuration.trackApplicationLifecycleEvents = NO; // Enable this to record certain application events automatically!\n    configuration.recordScreenViews = NO; // Enable this to record screen views automatically!\n\n    //Register WebEngage Integration With Segment\n    [configuration use:[WEGSegmentIntegrationFactory instanceWithApplication:application launchOptions:launchOptions]];\n\n    [SEGAnalytics setupWithConfiguration:configuration];\n\n    return YES;\n}\n```\n\n## Push Notifications\nPlease follow our [iOS Push Notification Documentation](https://docs.webengage.com/docs/ios-push-messaging)\n\n## In-App Notifications\nNo further action is required to integrate in-app messages.\n\n## Advanced\nFor advanced integration options such as InApp callback and manual push registration, please visit the [Advanced Section Documentation](https://docs.webengage.com/docs/ios-advanced). You can find the similar flavours of methods in Segment-WebEngage's `WEGSegmentIntegrationFactory` class\n\n## Sample App\nWebEngage has created a sample iOS application that integrates WebEngage via Segment. Check it out in this Repository's Example folder.\n\n\nFor more details check out documentation [here](https://docs.webengage.com/docs/segment).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fanalytics-ios-integration-webengage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebengage%2Fanalytics-ios-integration-webengage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebengage%2Fanalytics-ios-integration-webengage/lists"}