Questions tagged «analytics-api»


4
记录自定义变量以使用Google Analytics(分析)识别单个用户
市场部已要求我将Google Analytics(分析)添加custom variable tracking到我公司的网站。随着网站的使用server side includes,对跟踪标签的修改将在全球范围内推出-因此,维护工作令人头疼! 因此,如果我添加以下代码(请记住SSI,以便每个页面都具有相同的代码): // visitor level tracking, id = 12345 // Record a unique id for each visitor. When they return also track this id _gaq.push(['_setCustomVar', 1, 'id', '12345', 1]); // page level tracking // If the user signs up for our newsletter we set newsletter …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.