Giter Club home page Giter Club logo

ios-sdk's Introduction

ThinkingData iOS SDK

ThinkingData iOS SDK 为 iOS 代码埋点提供了 API. 主要功能包括:

  • 上报事件数据和用户属性数据
  • 本地数据缓存
  • 多实例上报
  • 用户数据自动采集

本项目包括以下模块:

  • ThinkingSDK: 核心功能的实现
  • Example 示例应用(仅仅为了展示API使用方法)

上报数据

在上报之前,首先通过以下方法初始化 SDK

ThinkingAnalyticsSDK *instance = [ThinkingAnalyticsSDK startWithAppId:@"TA_APP_ID" withUrl:@"TA_SERVER_URL"];

参数TA_APP_ID是您的项目的APP_ID,在您申请项目时会给出,请在此处填入

参数TA_SERVER_URL为数据上传的URL

如果您使用的是数数科技云服务,请输入以下URL:

http://receiver.ta.thinkingdata.cn

https://receiver.ta.thinkingdata.cn

如果您使用的是私有化部署的版本,请输入以下URL:

http://数据采集地址

后续可以通过如下两种方法使用 SDK

instance.track("some_event");

[[ThinkingAnalyticsSDK sharedInstanceWithAppid:@"TA_APP_ID"] track:@"some_event"];

详细的使用指南可以查看iOS SDK 使用指南

感谢

ios-sdk's People

Contributors

thinkingdataanalytics avatar arlen-li avatar ihuangdiao avatar ydbwwhq avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.