Giter VIP home page Giter VIP logo

mp-demos's People

Contributors

dependabot[bot] avatar gzgogo avatar pdap avatar yuzhaoqt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mp-demos's Issues

MPX 小程序,友盟统计不能发送数据

用滴滴开源框架 MPX 开发的小程序,使用友盟小程序统计,数据不会没有发送。
无论是通过AppId 和 secret 自动获取 openid 还是代码 方式 wx.uma.setOpenid(openid) 都没有发送数据(日志没有数据发送)
wepy 我测试了,没有问题,是正常的。

请大佬们支持一下 MPX , 方便的话提供一个案例。

请问IOS14下如何不使用系统剪贴板

原生api 配置项 enableVerify :false 可以支持关闭剪切板
目前taro不能支持
代码如下
uma.init({ appKey: '5edf156d978eea085d11e13f', useOpenid: true, autoGetOpenid: true, debug: !true, enableVerify: false })
版本:
"umtrack-wx": "^2.3.5"

uniapp开发微信小程序集成友盟统计,控制台提示getStorage:fail data not found

每次小程序在初始化的时候,控制台会显示友盟SDK集成成功和数据发送成功的提醒,同时也会有getStorage:fail data not found的警告⚠️,之后就再也不会出现,在友盟后台看统计数据也正常。

请问这里的getStorage:fail data not found会对统计数据有影响吗?

友盟微信小程序sdk版本:[email protected]

控制台提示:
[UMENG] -- cache初始化成功: {}
[UMENG] -- Lib对象初始化成功
[UMENG] -- setOpenId: xxxxxxxxxx
[UMENG] -- showOptions: xxxxxxx
[UMENG] -- session options: xxxxx
[UMENG] -- 开始新的session xxxxxxx
[UMENG] -- setSessionId: xxxxxxx
[UMENG] -- 安装Lib接口成功
[UMENG] -- SDK集成成功
[UMENG] -- um_userid: getStorage:fail data not found
[UMENG] -- um_provider: getStorage:fail data not found
[UMENG] -- um_unid: getStorage:fail data not found

[UMENG] -- 数据发送成功: xxxxxx

看到这个issues说的类似的问题
mpvue小程序集成友盟,控制台提示集成成功,友盟后台数据统计不上 #10

已经做到了

  • 初始化参数和调用init方法在最前面

截屏2020-08-18 下午3 38 48

截屏2020-08-18 下午3 38 53

  • umeng设置如下
uma.init({
  appKey: appKey,
  useOpenid: true,
  autoGetOpenid: false,
  debug: isDebug
});

微信小程序 taro 集成友盟统计报错

描述:

taro 集成友盟统计报错 微信小程序

友盟版本

	"umtrack-wx": "^2.3.6"

taro版本

Taro CLI 3.0.7 environment info:
System:
OS: Windows 10
Binaries:
Node: 10.16.0 - E:\nodejs\node.EXE
Yarn: 1.22.4 - C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD
npm: 6.9.0 - E:\nodejs\npm.CMD

报错信息

VM1085:1 MiniProgramError
Cannot assign to read only property 'onLaunch' of object '#'
TypeError: Cannot assign to read only property 'onLaunch' of object '#'
at D (http://127.0.0.1:26159/appservice/app.js:3205:8533)
at App (http://127.0.0.1:26159/appservice/app.js:3205:28326)
at Module../src/app.js (http://127.0.0.1:26159/appservice/app.js:3303:12)
at webpack_require (http://127.0.0.1:26159/appservice/runtime.js:81:30)
at checkDeferredModules (http://127.0.0.1:26159/appservice/runtime.js:47:23)
at Array.webpackJsonpCallback [as push] (http://127.0.0.1:26159/appservice/runtime.js:34:19)
at http://127.0.0.1:26159/appservice/app.js:6:49
at require (http://127.0.0.1:26159/appservice/__dev__/WAService.js:2:2112001)
at :1:1
at doWhenAllScriptLoaded (http://127.0.0.1:26159/appservice/appservice?t=1597288932661:5490:21)

mpvue小程序集成友盟,控制台提示集成成功,友盟后台数据统计不上

控制台提示:
[UMENG] -- um_cache_5ecc727cdbc2ec0816fa16a4: getStorage:fail data not found

[UMENG] -- cache初始化成功: {}
[UMENG] -- Lib对象初始化成功
[UMENG] -- 安装Lib接口成功
[UMENG] -- SDK集成成功
[UMENG] -- um_userid: getStorage:fail data not found
[UMENG] -- um_provider: getStorage:fail data not found
[UMENG] -- um_uuid: getStorage:fail data not found

main.js文件配置如下:
20200528174200

后台统计无数据,是什么原因呢?麻烦看一下

uni-app 页面跳转发现没有上报请求

SDK 版本

umtrack-wx 版本 2.5.2

问题描述

uni-app 项目中,页面跳转发现未上报请求,无上报意味着无统计,不知是否正常?

问题重现步骤

  1. 修改 uni-app 示例项目下 uma.jsappKey 为自己的 appKey
  2. 新增一个全新的页面,并在 /pages/index/index 中新增点击按钮跳转新页面逻辑

image

image

wx is not defined

Use Taro and follow the mp-demos, get the error 'wx is not defined'.

uniapp集成友盟编译头条平台时报错:i.default.init is not a function

uniapp 按照 demo 示例进行集成,百度平台成功编译并查看到了数据。编译头条时去出现了 i.default.init is not a function 。像是引入的 umtrack-tt 脚本没有正确初始化,控制台也无其它信息。

集成写法
image
报错信息
image
环境、版本、依赖信息
NodeJS: v12.18.3
System: macOS Catalina 10.15.6
IDE: 字节跳动开发者工具 v2.0.1.281
@dcloudio/uni-mp-toutiao": "^2.0.0-28520200811001"

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.