我需要更改 Google 跟踪代码管理器中的 &cid(客户端 ID)参数。我试过设置(谷歌分析)kGAIClientId
的跟踪器。GAI
self.tracker =[[GAI sharedInstance] trackerWithTrackingId:GAProperty_VALUE];
[self.tracker set:kGAIClientId value:NEW_VALUE];
不工作!
我也尝试过推&cid
入具有新价值的数据层,但不起作用。
这是我在日志中得到的:
GoogleTagManager verbose: GoogleAnalytics 3.14 -[GAIBatchingDispatcher persist:] (GAIBatchingDispatcher.m:517): Saved hit: {
parameters = {
"&_crc" = 0;
"&_s" = 86;
"&_u" = ".7nL";
"&_v" = "mi3.1.4";
"&a" = 240807461;
"&aid" = "***"; // removed
"&an" = "***"; // removed
"&av" = "2.6.5";
"&cd" = "***"; // removed
"&cd1" = "***";
"&cd10" = unknown;
"&cd11" = no;
"&cd15" = "/home/";
"&cd41" = iOS;
"&cid" = "7c5824a7-5851-4829-a6c9-0a09a11fbe98";
"&dm" = "x86_64";
"&ds" = app;
"&sr" = 750x1334;
"&t" = appview;
"&tid" = "***"; // removed
"&ul" = "en-us";
"&v" = 1;
"&z" = "***";
gaiVersion = "3.14";
};
timestamp = "2016-02-17 09:27:12 +0000";
}
如果有人知道如何更改它,请帮助!
谢谢你。