Code Monkey home page Code Monkey logo

ans-bytedance-sdk's Introduction

Analysys Bytedance SDK

========

This is the official Bytedance SDK for Analysys.

字节跳动小程序 SDK目录说明:

  • SDK——SDK文件
  • src——SDK源码
  • build——打包SDK工具配置
  • Demo——API调用演示
  • taroDome——Taro框架API调用演示

字节跳动小程序 SDK 基础说明:

快速集成

如果您是第一次使用易观方舟产品,可以通过阅读本文快速了解此产品

  1. 集成 SDK 在app.js文件的顶部引入SDK。
  2. 设置初始化接口 通过初始化代码的配置参数配置您的AppKey。
  3. 设置上传地址 通过初始化代码的配置参数uploadURL设置您上传数据的地址。
  4. 配置上传地址域名 登录字节跳动开放平台,将上传地址域名配置到服务器域名白名单中
  5. 设置需要采集的页面或事件 通过手动埋点,设置需要采集的页面或事件。
  6. 打开 Debug 模式查看日志 通过设置Ddebug模式,开/关 log 查看日志。
  7. 调用小程序启动事件 在app.js文件中调用小程序启动事件
  8. 调用小程序启动事件 在每一个页面的入口js文件中调用小程序统计页面事件

通过以上步骤您即可验证SDK是否已经集成成功。更多接口说明请您查看 API 文档。

更多Api使用方法参考:https://docs.analysys.cn/ark/integration/sdk/bytedance

讨论

License

gpl-3.0

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.