{"id":26212393,"url":"https://github.com/numandev1/rudder-integration-clevertap-swift","last_synced_at":"2026-04-24T06:31:46.065Z","repository":{"id":275908279,"uuid":"874756177","full_name":"numandev1/rudder-integration-clevertap-swift","owner":"numandev1","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-08T06:35:16.000Z","size":427,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T15:57:46.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numandev1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-18T12:06:36.000Z","updated_at":"2025-05-08T06:34:38.000Z","dependencies_parsed_at":"2025-02-05T08:38:44.573Z","dependency_job_id":null,"html_url":"https://github.com/numandev1/rudder-integration-clevertap-swift","commit_stats":null,"previous_names":["numandev1/rudder-integration-clevertap-swift"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/numandev1/rudder-integration-clevertap-swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Frudder-integration-clevertap-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Frudder-integration-clevertap-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Frudder-integration-clevertap-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Frudder-integration-clevertap-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numandev1","download_url":"https://codeload.github.com/numandev1/rudder-integration-clevertap-swift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2Frudder-integration-clevertap-swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-12T08:32:21.363Z","updated_at":"2026-04-24T06:31:46.039Z","avatar_url":"https://github.com/numandev1.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://rudderstack.com/\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/59817155/121357083-1c571300-c94f-11eb-8cc7-ce6df13855c9.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cb\u003eThe Customer Data Platform for Developers\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e\n    \u003ca href=\"https://rudderstack.com\"\u003eWebsite\u003c/a\u003e\n    ·\n    \u003ca href=\"https://www.rudderstack.com/docs/destinations/marketing/clevertap/\"\u003eDocumentation\u003c/a\u003e\n    ·\n    \u003ca href=\"https://rudderstack.com/join-rudderstack-slack-community\"\u003eCommunity Slack\u003c/a\u003e\n  \u003c/b\u003e\n\u003c/p\u003e\n\n---\n# Integrating RudderStack iOS SDK with CleverTap\n\nThis repository contains the resources and assets required to integrate the [RudderStack iOS SDK](https://www.rudderstack.com/docs/stream-sources/rudderstack-sdk-integration-guides/rudderstack-ios-sdk/ios-v2/) with [CleverTap](https://clevertap.com/).\n\nFor more information on configuring CleverTap as a destination in RudderStack and the supported events and their mappings, refer to the [CleverTap documentation](https://developer.clevertap.com/docs/ios).\n\n| Important: This device mode integration is supported for Clevertap v6.2.1 and above.|\n| :---|\n\n\n## Step 1: Integrate the SDK with CleverTap\n\n1. Add [CleverTap](https://clevertap.com/) as a destination in the [RudderStack dashboard](https://app.rudderstack.com/).\n2. [Swift Package Manager (SPM)](https://www.swift.org/package-manager/). \n\n\n### Swift Package Manager (SPM)\n\nYou can also add the RudderStack iOS SDK via Swift Package Mangaer.\n\n* Go to **File** -\u003e **Add Package**, as shown:\n\n![add_package](screenshots/add_package.png) \n\n* Enter the package repository (`https://github.com/numandev1/rudder-integration-clevertap-swift.git`) in the search bar.\n\n*  In **Dependency Rule**, select **Exact Version** and enter latest as the value, as shown:\n\n![add_package](screenshots/set_dependency.png)\n\n* Select the project to which you want to add the package.\n\n* Finally, click on **Add Package**.\n\n\n## Step 2: Import the SDK\n\n### Swift\n\n```swift\nimport RudderCleverTap\n```\n\n### Objective C\n\n```objectivec\n@import RudderCleverTap;\n```\n\n## Step 3: Initialize the RudderStack client (`RSClient`)\n\nPlace the following code in your `AppDelegate` file under the `didFinishLaunchingWithOptions` method:\n\n### Swift\n\n```swift\nlet config: RSConfig = RSConfig(writeKey: WRITE_KEY)\n            .dataPlaneURL(DATA_PLANE_URL)\nRSClient.sharedInstance().configure(with: config)\nRSClient.sharedInstance().addDestination(RudderCleverTapDestination())\n```\n#### Usage\nto understand the usage of Rudder Clevertap you can check the Example\n\n## Step 4: Send events\n\nFollow the steps listed in the [RudderStack iOS SDK](https://github.com/rudderlabs/rudder-sdk-ios/tree/master-v2#sending-events) repo to start sending events to CleverTap.\n\n### Sending push notification events\n\nTo send your push notification events to CleverTap, follow these steps:\n\n1. Place the following code in your `AppDelegate` file:\n\n### Swift\n\n```swift\nfunc application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {\n        RSClient.sharedInstance().application(application, didRegisterForRemoteNotificationsWithDeviceToken: deviceToken)\n    }\n\nfunc application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -\u003e Void) {\n    RSClient.sharedInstance().application(application, didReceiveRemoteNotification: userInfo, fetchCompletionHandler: completionHandler)\n}\n```\n\n\n## About RudderStack\n\nRudderStack is the **customer data platform** for developers. With RudderStack, you can build and deploy efficient pipelines that collect customer data from every app, website, and SaaS platform, then activate your data in your warehouse, business, and marketing tools.\n\n| Start building a better, warehouse-first CDP that delivers complete, unified data to every part of your customer data stack. Sign up for [RudderStack Cloud](https://app.rudderstack.com/signup?type=freetrial) today. |\n| :---|\n\n## Contact us\n\nFor queries on configuring or using this integration, start a conversation in our [Slack](https://rudderstack.com/join-rudderstack-slack-community) community.\n\n## Created By\n[@numandev1](https://github.com/numandev1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Frudder-integration-clevertap-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumandev1%2Frudder-integration-clevertap-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Frudder-integration-clevertap-swift/lists"}