关于极光统计 购买事件 的问题

niuniujf
2017-09-04 06:00 699 0

其它几个事件都可以,唯独购买事件后台得不到数据,帮忙看看是为什么?

JANALYTICSPurchaseEvent *event = [[JANALYTICSPurchaseEvent alloc] init];
        event.success = YES;
        event.price = [[BasicInfoClass shared].invesPrice floatValue];
        event.goodsName = [BasicInfoClass shared].invesName;
        event.goodsType = [UserDefaultUtil valueForKey:@"user_phoneNum"];
        event.goodsID = [BasicInfoClass shared].invesId;
        event.currency = JANALYTICSCurrencyCNY;
//        event.extra = @{@"custom key1":@"custom value",
//                        @"custom key2":@"custom value",
//                        @"custom key3":@"custom value",
//                        @"custom key4":@"custom value",
//                        @"custom key5":@"custom value",
//                        @"custom key6":@"custom value",
//                        @"custom key7":@"custom value",
//                        @"custom key8":@"custom value",
//                        @"custom key9":@"custom value",
//                        @"custom key10":@"custom value"};
        [JANALYTICSService eventRecord:event];

1个回答

热门排序
  • 1、首先检查你是否有产生了购买数据

    2、检查客户端日志是否有打印数据,和上报购买数据成功的日志 report log success

    3、提供你的appkey。