EN code破折号或不 [英] encode the dash or not

查看:195
本文介绍了EN code破折号或不的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用谷歌Analytics(分析)在我的PhoneGap Android应用

I am trying to use Google Analytics in my Phonegap Android APP

我跟着这个回购协议的说明

I followed the instructions in this repo

https://github.com/DoersGuild/Cordova-Android-Analytics

每一件事情是确定的,并返回成功信息,但不幸的是我等了24小时,在谷歌Analytics帐户报告没有更新

every thing is ok and success message is returned, but unfortunately I waited 24 hours and no updates in reporting in Google Analytics account

这是文件analytics.xml文件:

Here it is the file analytics.xml file:

<?xml version="1.0" encoding="utf-8"?>

<!-- Replace placeholder ID with your tracking ID -->
<string name="ga_trackingId">UA-XXXXXXXX-X</string>

<!-- Disable Activity tracking, not used in Cordova which only has one activity -->
<bool name="ga_autoActivityTracking">false</bool>

<!-- Enable automatic exception tracking -->
<bool name="ga_reportUncaughtExceptions">true</bool>

<!-- Anonymize tracking -->
<bool name="ga_anonymizeIp">true</bool>

<!-- Enable debugging -->
<bool name="ga_debug">true</bool>

</resources>

而不是UA-XXXXXXXX-X的轨道ID,我写我的帐户轨道ID

instead the UA-XXXXXXXX-X track id, I wrote my account track id

我的问题是,我应该把它与破折号,或者我应该为en code中的破折号是UA-XXXXXXXX-X

My question is should I keep it with dash, or I should to encode the dash to be UA–XXXXXXXX–X

感谢

推荐答案

%的的谷歌分析概述

重要提示:不带在ga_trackingId字符串code破折号。这样做将prevent您在报告中看到任何数据。

Important: Do not encode dashes in the ga_trackingId string. Doing so will prevent you from seeing any data in your reports.

这篇关于EN code破折号或不的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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