测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可协议 | MIT |
发布最新发布 | 2017 年 5 月 |
由 Tian Han,David Molnar,AJ Cantu 维护。
依赖 | |
分析 | ~> 3.6 |
Primer | ~> 3.3 |
为 analytics-ios 提供的 Primer 集成。
Segment-Primer 可以通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile
中
pod 'Segment-Primer'
首先,您需要注册一个 Primer 账户以获取 Primer 令牌。
将 Segment iOS SDK 和 Segment-Primer CocoaPod 集成到您的应用程序后,切换 Segment 集成中的 Primer,并添加您的 Primer 令牌,您可以在 Primer 仪表板下的项目设置中找到。有关如何设置 Primer 的更多详细信息,请参阅 Primer 文档。
由于 Primer 需要尽可能早地启动,您需要在初始化与分析客户端注册的工厂时提供令牌。
[configuration use:[SEGPrimerIntegrationFactory instanceWithToken:@"PRIMER_TOKEN"]];
这将启动 Primer SDK 并开始收集事件。
The MIT License (MIT)
Copyright (c) 2015 Primer, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.