{"id":18426128,"url":"https://github.com/clevertap/clevertap-segment-ios","last_synced_at":"2025-07-27T16:34:11.801Z","repository":{"id":6898840,"uuid":"55652847","full_name":"CleverTap/clevertap-segment-ios","owner":"CleverTap","description":"CleverTap's side-by-side iOS SDK integration with Segment.IO ","archived":false,"fork":false,"pushed_at":"2024-11-08T11:59:51.000Z","size":56382,"stargazers_count":6,"open_issues_count":1,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-24T08:16:49.051Z","etag":null,"topics":["analytics","clevertap","clevertap-segment-ios","engagement","objective-c","segment","swift","user-retention"],"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/CleverTap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-04-07T01:13:28.000Z","updated_at":"2024-11-08T11:58:35.000Z","dependencies_parsed_at":"2023-11-06T09:47:03.143Z","dependency_job_id":"7ad5caa1-a3f1-4d47-b66b-bb78c9760137","html_url":"https://github.com/CleverTap/clevertap-segment-ios","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/CleverTap/clevertap-segment-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-segment-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-segment-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-segment-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-segment-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverTap","download_url":"https://codeload.github.com/CleverTap/clevertap-segment-ios/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-segment-ios/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267386964,"owners_count":24079140,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["analytics","clevertap","clevertap-segment-ios","engagement","objective-c","segment","swift","user-retention"],"created_at":"2024-11-06T05:06:59.268Z","updated_at":"2025-07-27T16:34:11.757Z","avatar_url":"https://github.com/CleverTap.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png\" width = \"50%\"/\u003e\n\u003c/p\u003e\n\n# CleverTap iOS Segment SDK\n\n[![Version](https://img.shields.io/cocoapods/v/Segment-CleverTap.svg?style=flat)](http://cocoapods.org/pods/Segment-CleverTap)\n\u003ca href=\"https://github.com/CleverTap/clevertap-segment-ios/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/CleverTap/clevertap-segment-ios.svg\" /\u003e\n\u003c/a\u003e\n[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg)](https://swift.org/package-manager/)\n[![License](https://img.shields.io/cocoapods/l/Segment-CleverTap.svg?style=flat)](http://cocoapods.org/pods/Segment-CleverTap)\n[![codebeat badge](https://codebeat.co/badges/033620de-eab7-48f5-8f30-226c354e20b0)](https://codebeat.co/projects/github-com-clevertap-clevertap-segment-ios-master)\n\nCleverTap integration for analytics-ios.\n\n## Installation\n\nAnalytics is available through [CocoaPods](http://cocoapods.org) and [Swift Package Manager](https://www.swift.org/package-manager/).\n\n### CocoaPods\n \nTo install CleverTap Segment integration through Cocoapods, simply add the following line to your Podfile:\n\n```ruby\npod \"Segment-CleverTap\"\n```\n\n### Swift Package Manager\n\nTo install the CleverTap Segment integration through Swift Package Manager, follow these steps:\n\n- In Xcode, navigate to **File -\u003e Swift Package Manager -\u003e Add Package Dependency.**\n- Enter **https://github.com/CleverTap/clevertap-segment-ios.git** when choosing package repo and Click **Next.**\n- On the next screen, Select an SDK version (by default, Xcode selects the latest stable version). Click **Next.**\n- Click **Finish** and ensure that the **Segment-CleverTap** has been added to the appropriate target.\n\n## Usage\n\n1. After adding the dependency, import the integration:\n\n ```objc\n #import \"SEGCleverTapIntegrationFactory.h\"\n ```\n \n2. Finally, declare CleverTap's integration in your app delegate instance:\n\n  ```objc\n  SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:@\"YOUR_WRITE_KEY_HERE\"];\n  [config use:[SEGCleverTapIntegrationFactory instance]];\n  [SEGAnalytics setupWithConfiguration:config];\n  ```\n## For more\n\n- Checkout our [Example Swift project](https://github.com/CleverTap/clevertap-segment-ios/tree/master/ExampleSwift) that integrates CleverTap via Segment using CocoaPods.\n- Checkout our [Example Objective-C project](https://github.com/CleverTap/clevertap-segment-ios/tree/master/Example) that integrates CleverTap via Segment using CocoaPods.\n- Checkout our [ExampleSwiftPM project](https://github.com/CleverTap/clevertap-segment-ios/tree/master/ExampleSwiftPM) that integrates CleverTap via Segment using Swift Package Manager.\n- Checkout our [CleverTap iOS Segment Integration Documentation](https://github.com/CleverTap/clevertap-segment-integration-docs#ios \"CleverTap Segment Technical Documentation\").\n\n## License\n\n```\nWWWWWW||WWWWWW\n W W W||W W W\n      ||\n    ( OO )__________\n     /  |           \\\n    /o o|    MIT     \\\n    \\___/||_||__||_|| *\n         || ||  || ||\n        _||_|| _||_||\n       (__|__|(__|__|\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Segment, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertap%2Fclevertap-segment-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevertap%2Fclevertap-segment-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertap%2Fclevertap-segment-ios/lists"}