我需要更改Google跟踪代码管理器中的& cid(客户端ID)参数。我尝试在kGAIClientId
(Google Analytics)的跟踪器上设置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";
}
如果有人知道如何更改它,请帮忙!
谢谢。