RudderStack is a customer data pipeline tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.
With RudderStack, you can build customer data pipelines that connect your whole customer data stack and then make them smarter by triggering enrichment and activation in customer tools based on analysis in your data warehouse. Its easy-to-use SDKs and event source integrations, Cloud Extract integrations, transformations, and expansive library of destination and warehouse integrations makes building customer data pipelines for both event streaming and cloud-to-warehouse ELT simple.
Try RudderStack Cloud Free - a no time limit, no credit card required, completely free tier of RudderStack Cloud. Click here to start building a smarter customer data pipeline today, with RudderStack Cloud Free. |
---|
Questions? Please join our Slack channel or read about us on Product Hunt.
NOTE:
Rudder-CustomerIO
version1.3.0
is compatible with theCustomerIO/DataPipelines
version3.2.2
.
-
Add CustomerIO as a destination in the RudderStack dashboard.
-
Rudder-CustomerIO is available through CocoaPods and Swift Package Manager (SPM).
Add the following line to your Podfile and followed by pod install
:
pod 'Rudder-CustomerIO', '~> 1.3.0'
You can also add the RudderStack iOS SDK via Swift Package Mangaer.
- Go to File -> Add Package, as shown:
-
Enter the package repository (
https://github.com/rudderlabs/rudder-integration-customerio-ios
) in the search bar. -
In Dependency Rule, select Exact Version and enter latest as the value, as shown:
-
Select the project to which you want to add the package.
-
Finally, click on Add Package.
Put this code in your AppDelegate.swift
file under the method didFinishLaunchingWithOptions
let configBuilder = RSConfigBuilder()
.withDataPlaneUrl(DATA_PLANE_URL)
.withLoglevel(RSLogLevelDebug)
.withFactory(RudderCustomerIOFactory.instance)
RSClient.getInstance(WRITE_KEY, config: configBuilder.build())
- Make a copy of the
SampleRudderConfig.plist
into the RudderConfig directory and rename it toRudderConfig.plist
. - Fill the required details e.g.,
WRITE_KEY
andPROD_DATA_PLANE_URL
. - Start sending the events
Follow the steps from the RudderStack iOS SDK repo.
If you come across any issues while configuring or using this integration, please feel free to start a conversation on our Slack channel. We will be happy to help you.