GoogleTagManager错误:_avn没有支持实现 [英] GoogleTagManager error: _avn has no backing implementation

查看:80
本文介绍了GoogleTagManager错误:_avn没有支持实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对屏幕视图数据层的这种简单推送会在启用详细日志记录的情况下打印错误.此和随后对数据层的调用均失败.它们既未记录也未执行.

This simple push to the data layer of a screen view prints an error with verbose logging enabled. This and subsequent calls to the data layer all fail. They are neither logged nor executed.

[[TAGManager instance].dataLayer push:@{@"event" : @"screen-loads",
                                                    @"screen-name": [tracker get:kGAIScreenName],
                                                    @"viewController" :NSStringFromClass([sender class])
                                                    }];

这是正在记录的错误消息:

This is the error message being logged:

GoogleTagManager error: _avn has no backing implementation.

推荐答案

线索在_avn中.我们Analytics(分析)专业版的朋友看了看容器,并注意到我们有一个内置变量{{App Version Name}}的引用.他们注意到尚未设置,并且认为这是v2不再包含的变量.

The clue was in _avn. Our friends over at Analytics Pros took a look at the container and noticed that we had a reference to the built in variable {{App Version Name}}. They noticed that wasn't set, and they think it's a variable that is no longer part of v2.

无论如何,将{{App Version Name}}更改为{{App Version Code}}都消除了错误,并且数据自由流动.希望这会有所帮助.

Anyway, changing {{App Version Name}} to {{App Version Code}} got rid of the error and data is flowing freely. Hope this helps.

这篇关于GoogleTagManager错误:_avn没有支持实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆