Google Analytics(分析)在某些网页上发生错误(“发送”,“浏览量”) [英] Google Analytics error in ga("send", "pageview") on certain pages

查看:164
本文介绍了Google Analytics(分析)在某些网页上发生错误(“发送”,“浏览量”)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在实施增强型电子商务后,我发现只有一小部分网页在Google Analytics中显示为 not 具有Google Analytics代码。



在检查源代码时,那些失败的页面上的代码与正在验证的页面上的代码没有区别。



我已安装GA调试谷歌浏览器扩展,我可以看到,在几页上,从 ga(send,pageview)调用返回错误。 ga(send,pageview)中的可能错误的信息。 code> call或提供任何可能有助于诊断任何可能的问题的信息。



重要的是,页面上没有javascript错误,我可以看到的唯一方法任何事情都是GA调试插件 - 有些人认为这不是很好!尽管如此,Google在这一小部分页面中仍然显示出未知的问题。



以下是其中一页上的代码示例:

 < script> 
(function(i,s,o,g,r,a,m){i ['GoogleAnalyticsObject'] = r; i [r] = i [r] || function(){
(i [r] .q = i [r] .q || [])。push(arguments)},i [r] .l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a,m)
})(window,document,'script' , '// www.google-analytics.com/analytics.js','ga');

ga('create','UA-500228-1','auto');
ga('require','ec'); //加载高级电子商务插件。
ga('require','displayfeatures'); //加载显示广告。
ga('set','& cu','GBP'); //设置货币

//从请求容器添加生成的分析元素
ga('ec:addImpression',{
'id':'021109021CB'
,'name':'Cam shaft,Type 4 Mechanical Std。(No Cam Wheel)'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& amp ; 2.0升/ Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list':'Product listing'
,'position':1
, 'price':148.75
}); ga('ec:addImpression',{
'id':'071109021CB'
,'name':'凸轮轴Type4液压标准(无凸轮)'
,'category': 'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
''list ':'Product listing'
,'position':2
,'price':133.92
}); ga('ec:addImpression',{
'id':'021198541'
,'name':'Cam bearing set,std,1.7-2.0 [43]'
''category ':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
, 'list':'Product listing'
,'position':3
,'price':9.93
}); ga('ec:addImpression',{
'id':'021109309G'
,'name':'Cam follower 1.7-2.0 Type4 engine 72-78'
,'category': 'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
''list ':'Product listing'
,'position':4
,'price':9.00
}); ga''ec:addImpression',{
'id':'022109309'
,'name':'凸轮从动液压型4 / WBX和CT引擎'
,'category' :'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Chafthaft'
,'brand':''
''列表':'产品列表'
,'position':5
,'price':14.17
}); ga('ec:addImpression',{
'id':'AC10920091'
,'name':'Lifters,Type 4 Scat Lube-a-Lobe Set of 8'
,''类别':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'SCAT'
,'list':'Product listing'
,'position':6
,'price':95.33
}); ga('ec:addImpression',{
'id':'021109301A'
,'name':'Pushrod,Type4 with Solid tappets,271mm'
'category':'Bay巴士1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8和2.0 litre / Valvetrain,Pushrods& Camshaft'
,'brand':'VW'
,'list' :'产品列表'
,'position':7
,'price':24.83
}); ga('ec:addImpression',{
'id':'021198335'
,'name':'用于4型发动机的推杆管和密封套件1700-2000'b b $ b''类别':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'KITS'
,'list':'Product listing'
,'position':8
,'price':40.33
}); ga''ec:addImpression',{
'id':'021109335C'
,'name':'推杆管1.7-2.0 Aircooled'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'SSP'
'list': '产品列表'
,'position':9
,'price':4.92
}); ga''ec:addImpression',{
'id':'021109335CSS'
,'name':'推杆管1.7-2.0 Aircooled不锈钢'
,'category':' Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'KAEFER'
''list ':'Product listing'
,'position':10
,'price':8.58
}); ga('ec:addImpression',{
'id':'021109345A'
,'name':'Pushrod Seal,Between Tube& Case,1.7-2.0,Small [37]'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list':'Product listing'
,'position':11
,'price':0.42
}); ga('ec:addImpression',{
'id':'021109349B'
,'name':'Pushrod Seal,Tube to Head,1.7-2.0,Large 25.1 [37]'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list':'Product listing'
,'position':12
,'price':0.42
}); ga''ec:addImpression',{
'id':'021109339'
,'name':'Retaining wire,push rods tube 1.7-2.0'
,'category':' Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list' :'产品列表'
,'position':13
,'price':6.42
}); ga''ec:addImpression',{
'id':'113109651A'
,'name':'Valve collet,all aircooled,WBX,Diesel and Golf 1100-1800'
, 'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
''list':'Product listing'
,'position':14
,'price':0.83
}); ga''ec:addImpression',{
'id':'021109641B'
,'name':'Retainer,valve spring,1.7-2.0 [38]'
,'category' :'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Chafthaft'
,'brand':''
''列表':'产品列表'
,'position':15
,'price':3.72
}); ga('ec:addImpression',{
'id':'021109623K'
,'name':'Valve Spring,Type4 1.7-2.0'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
'list':'产品列表'
,'position':16
,'price':4.17
}); ga('ec:addImpression',{
'id':'021109601'
,'name':'进气阀,1.7和1.8 8 / 74-&#62;(39.3mm x 8毫米杆)'
,'类别':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Chafthaft'
, '品牌':'IVAM'
,'list':'产品列表'
,'position':17
,'price':5.42
}); ga('ec:addImpression',{
'id':'022109601'
,'name':'进气阀,1.8,8 / 73-7 / 74(41x8mm)[39]'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':' IVAM'
''list':'产品列表'
,'position':18
,'price':8.74
}); ga('ec:addImpression',{
'id':'021109601A'
,'name':'进口阀,2.0,8 / 75-79(37.5mm)'
, 'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'IVAM'
,'list':'Product listing'
,'position':19
,'price':5.83
}); ga('ec:addImpression',{
'id':'022109612D'
,'name':'Exhaust valve,1.7-2.0,33mm'
,'category':'Bay公共汽车1968-79 /海湾公共汽车1968-79类型4发动机零件-1.7,1.8和2.0升/气门机构,推杆和凸轮轴'
,'品牌':'IVAM'
,'list' :'产品列表'
,'position':20
,'price':8.25
}); ga('ec:addImpression',{
'id':'022109612A'
,'name':'排气阀,1800cc,34mm * [50]'
,'category': 'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Chafthaft'
,'brand':'IVAM'
'' list':'Product listing'
,'position':21
,'price':8.50
}); ga('ec:addImpression',{
'id':'021101403A'
,'name':'Valve Guide,Inlet,Type 4 Engine'
,'category':'Bay公共汽车1968-79 /海湾公共汽车1968-79类型4发动机零件-1.7,1.8和2.0升/气门机构,推杆和凸轮轴'
,'品牌':'IVAM'
,'list' :'产品列表'
,'position':22
,'price':3.36
}); ga('ec:addImpression',{
'id':'021101417A'
,'name':'Valve guide,exhaust,9mm'
,'category':'Bay Bus 1968 -79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Chafthaft'
,'brand':'IVAM'
'list':'产品列表'
,'position':23
,'price':3.33
}); ga('ec:addImpression',{
'id':'022109443'
,'name':'Rocker arm,Inlet,2.0 Aircooled 76-83,10mm螺丝'
'类别':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'VW'
,'list':'Product listing'
,'position':24
,'price':21.00
}); ga('ec:addImpression',{
'id':'022109463'
,'name':'** NLA **摇臂,排气,2.0 Aircooled 76-83,10mm scr'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':' '
,'list':'产品列表'
,'position':25
,'price':21.00
}); ga''ec:addImpression',{
'id':'N0110077'
,'name':'M7螺母,用于1.7-2.0 Type4摇杆'
,'category':' Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list' :'Product listing'
,'position':26
,'price':0.25
}); ga('ec:addImpression',{
'id':'043109451'
,'name':'Valve screw,Best Quality,1.2-1.6,8 / 60-,8mm'
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':''
,'list':'Product listing'
,'position':27
,'price':1.67
}); ga('ec:addImpression',{
'id':'022109451'
,'name':'调整螺丝,阀门,1.8-2.0 2.1DJ,1.9DG 89-,10mm,不是1.7 ''
,'category':'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8&2.0 liter / Valvetrain,Pushrods& Camshaft'
''brand ':''
,'list':'产品列表'
,'position':28
,'price':3.33
}); ga('ec:addImpression',{
'id':'N0111525'
,'name':'螺母,8mm阀门调节器+一般用途[10]'
,'category' :'Bay Bus 1968-79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Chafthaft'
,'brand':''
'' list':'Product listing'
,'position':29
,'price':0.34
}); ga('ec:addImpression',{
'id':'028109453'
,'name':'螺母用于10mm阀门调节螺丝'
,'category':'Bay Bus 1968 -79 / Bay Bus 1968-79 Type 4 Engine Parts - 1.7,1.8& 2.0 liter / Valvetrain,Pushrods& Camshaft'
,'brand':'VW'
'list':'产品列表'
,'position':30
,'price':2.08
});

ga('send','pageview');





这与许多其他 的页面可以正常工作,显然有不同的产品数据 - 所以我想知道产品数据本身是否导致问题。



在GA调试中可以看到的错误如下所示:

 错误:type = {0:len,1:9199} method = message = account = 
M.log
O
fc
pc
(匿名函数)
gc。(匿名函数).H $ b (匿名函数)$ b $(匿名函数)$ b $($)$ b(匿名函数)
(匿名函数)

最后三个匿名函数来自ec .js和其他来自analytics_debug.js。



当然,所有这些都可能是一个红色鲱鱼,因为它来自调试而不是GA本身 - 但我有在Google之外没有其他问题的指标否认这些页面上有代码!



错误:type = {v class =h2_lin>解决方案

0:len,1:18608} method = message = account =


我搜索了如何在Stackoverflow上解决这个问题。我找到了一篇文章。您可能对此感兴趣。



文章说:


极限对于Google Analytics端点的http请求是8192字节 - 这在测量协议的文档中说明(这是Universal Analytics的基础)

为避免这种限制,您可能会限制展示数据,以使http请求更小。在阅读本文后,我仅将印象数据仅限于id和品牌,价格。我排除了名称数据。



您可以参考Eike Pierstorff撰写的这篇Stackoverflow文章。
Google Analytics(分析)。增强的电子商务。产品展示次数限制


After implementing Enhanced Ecommerce, I'm finding that a very small subset of pages are showing up in Google Analytics as not having the Analytics code.

On inspection of the source, there is no difference between the code on those pages that are failing and those on the pages that are validating correctly.

I installed the GA Debug Google Chrome extension and I can see that on a few pages there is an error coming back from the ga("send", "pageview") call.

However, I can find no information in any documentation or anywhere online that describes possible errors from the ga("send", "pageview") call or gives any information that may help to diagnose any possible issues.

Importantly there are no javascript errors on the page, the only way I can see anything at all is with the GA Debug plugin - which some people state doesn't really work very well! Nevertheless Google is showing an unknown problem with this small subset of pages.

Here's a sample of the code on one of the pages:

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1 *new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-500228-1', 'auto');
ga('require', 'ec');   // Load the advanced ecommerce plug-in.
ga('require', 'displayfeatures');   // Load display advertising.
ga('set', '&cu', 'GBP'); // Set currency

// Add generated analytics elements from the request container
ga('ec:addImpression', {
        'id':           '021109021CB'
    ,   'name':         'Cam shaft, Type 4 Mechanical Std. (No Cam Wheel)'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     1
    ,   'price':          148.75
}); ga('ec:addImpression', {
        'id':           '071109021CB'
    ,   'name':         'Cam shaft Type4 Hydraulic Std  (No Cam Wheel)'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     2
    ,   'price':          133.92
}); ga('ec:addImpression', {
        'id':           '021198541'
    ,   'name':         ' Cam bearing set, std, 1.7-2.0 [43]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     3
    ,   'price':            9.93
}); ga('ec:addImpression', {
        'id':           '021109309G'
    ,   'name':         'Cam follower 1.7-2.0 Type4 engine 72-78'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     4
    ,   'price':            9.00
}); ga('ec:addImpression', {
        'id':           '022109309'
    ,   'name':         'Cam Follower Hydraulic Type 4/WBX & CT Engine'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     5
    ,   'price':           14.17
}); ga('ec:addImpression', {
        'id':           'AC10920091'
    ,   'name':         ' Lifters, Type 4 Scat Lube-a-Lobe Set of 8'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'SCAT'
    ,   'list':         'Product listings'
    ,   'position':     6
    ,   'price':           95.33
}); ga('ec:addImpression', {
        'id':           '021109301A'
    ,   'name':         'Pushrod, Type4 with Solid tappets, 271mm'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'VW'
    ,   'list':         'Product listings'
    ,   'position':     7
    ,   'price':           24.83
}); ga('ec:addImpression', {
        'id':           '021198335'
    ,   'name':         'Pushrod Tube and Seal Kit for Type 4 Engines 1700-2000'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'KITS'
    ,   'list':         'Product listings'
    ,   'position':     8
    ,   'price':           40.33
}); ga('ec:addImpression', {
        'id':           '021109335C'
    ,   'name':         'Push rod tube 1.7-2.0 Aircooled'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'SSP'
    ,   'list':         'Product listings'
    ,   'position':     9
    ,   'price':            4.92
}); ga('ec:addImpression', {
        'id':           '021109335CSS'
    ,   'name':         'Push rod tube 1.7-2.0 Aircooled Stainless Steel'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'KAEFER'
    ,   'list':         'Product listings'
    ,   'position':     10
    ,   'price':            8.58
}); ga('ec:addImpression', {
        'id':           '021109345A'
    ,   'name':         ' Pushrod Seal, Between Tube & Case,1.7-2.0, Small [37]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     11
    ,   'price':            0.42
}); ga('ec:addImpression', {
        'id':           '021109349B'
    ,   'name':         ' Pushrod Seal, Tube to Head, 1.7-2.0, Large 25.1  [37]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     12
    ,   'price':            0.42
}); ga('ec:addImpression', {
        'id':           '021109339'
    ,   'name':         'Retaining wire, push rods tube 1.7-2.0'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     13
    ,   'price':            6.42
}); ga('ec:addImpression', {
        'id':           '113109651A'
    ,   'name':         'Valve collet, all aircooled, WBX, Diesel and Golf 1100-1800'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     14
    ,   'price':            0.83
}); ga('ec:addImpression', {
        'id':           '021109641B'
    ,   'name':         ' Retainer, valve spring, 1.7-2.0 [38]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     15
    ,   'price':            3.72
}); ga('ec:addImpression', {
        'id':           '021109623K'
    ,   'name':         'Valve Spring, Type4 1.7-2.0'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     16
    ,   'price':            4.17
}); ga('ec:addImpression', {
        'id':           '021109601'
    ,   'name':         'Inlet valve, 1.7 & 1.8 8/74-&#62; (39.3mm x 8mm Stem)'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     17
    ,   'price':            5.42
}); ga('ec:addImpression', {
        'id':           '022109601'
    ,   'name':         ' Inlet valve, 1.8, 8/73-7/74 (41x8mm) [39]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     18
    ,   'price':            8.74
}); ga('ec:addImpression', {
        'id':           '021109601A'
    ,   'name':         'Inlet valve, 2.0, 8/75-79 (37.5mm)'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     19
    ,   'price':            5.83
}); ga('ec:addImpression', {
        'id':           '022109612D'
    ,   'name':         'Exhaust valve, 1.7-2.0, 33mm'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     20
    ,   'price':            8.25
}); ga('ec:addImpression', {
        'id':           '022109612A'
    ,   'name':         ' Exhaust valve, 1800cc, 34mm* [50]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     21
    ,   'price':            8.50
}); ga('ec:addImpression', {
        'id':           '021101403A'
    ,   'name':         'Valve Guide, Inlet, Type 4 Engine'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     22
    ,   'price':            3.36
}); ga('ec:addImpression', {
        'id':           '021101417A'
    ,   'name':         'Valve guide, exhaust, 9mm'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'IVAM'
    ,   'list':         'Product listings'
    ,   'position':     23
    ,   'price':            3.33
}); ga('ec:addImpression', {
        'id':           '022109443'
    ,   'name':         'Rocker arm, Inlet, 2.0 Aircooled 76-83, 10mm screw'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'VW'
    ,   'list':         'Product listings'
    ,   'position':     24
    ,   'price':           21.00
}); ga('ec:addImpression', {
        'id':           '022109463'
    ,   'name':         '**NLA** Rocker arm, Exhaust, 2.0 Aircooled 76-83, 10mm scr'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     25
    ,   'price':           21.00
}); ga('ec:addImpression', {
        'id':           'N0110077'
    ,   'name':         'M7 nut for 1.7-2.0 Type4 rocker shafts'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     26
    ,   'price':            0.25
}); ga('ec:addImpression', {
        'id':           '043109451'
    ,   'name':         'Valve screw, Best Quality ,1.2-1.6, 8/60-, 8mm'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     27
    ,   'price':            1.67
}); ga('ec:addImpression', {
        'id':           '022109451'
    ,   'name':         'Adjusting screw,valve,1.8-2.0 2.1DJ,1.9DG 89-, 10mm,NOT 1.7!'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     28
    ,   'price':            3.33
}); ga('ec:addImpression', {
        'id':           'N0111525'
    ,   'name':         ' Nut, 8mm valve adjuster+general use [10]'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        ''
    ,   'list':         'Product listings'
    ,   'position':     29
    ,   'price':            0.34
}); ga('ec:addImpression', {
        'id':           '028109453'
    ,   'name':         'Nut for 10mm valve adjusting screw'
    ,   'category':     'Bay Bus 1968-79/Bay Bus 1968-79 Type 4 Engine Parts - 1.7, 1.8 & 2.0 litre/Valvetrain, Pushrods & Camshaft'
    ,   'brand':        'VW'
    ,   'list':         'Product listings'
    ,   'position':     30
    ,   'price':            2.08
}); 

ga('send', 'pageview');

This is identical to many other pages that are working correctly, with different product data obviously - so I'm wondering if the product data itself is causing an issue.

The error I can see in GA Debug is as follows:

Error: type={0: "len", 1: 9199} method= message= account=  
M.log
O
fc
pc
(anonymous function)
gc.(anonymous function).H
ad.(anonymous function).send
b.(anonymous function)
jf.R
jf.H
Z
(anonymous function)
(anonymous function)
(anonymous function)

The last three anonymous functions are from ec.js and the rest from analytics_debug.js.

Of course, all of this could be a red herring as it's coming from the debug and not GA itself - but I have no other indicators of a problem outside of Google denying that these page have code on them!

解决方案

I got same error message too.

Error: type={0: "len", 1: 18608} method= message= account=

I searched how to solve this problem on the Stackoverflow. And I found an article. You may have interest in it.

The article says:

the limit for a http request to the Google Analytics endpoint is 8192 bytes - this is stated in the documentation for the measurement protocol (which is the basis for Universal Analytics)

To avoid such a limit you may limited impression data to make the http request smaller. After I read this article I limited impression data only to id and brand, price. I excluded name data.

You may refer this Stackoverflow article by Eike Pierstorff. Google Analytics. Enhanced Ecommerce. Limit for product impressions

这篇关于Google Analytics(分析)在某些网页上发生错误(“发送”,“浏览量”)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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