我添加了以下代码来设置自定义变量
piwikTracker.setCustomVariable(
1, // Index, the number from 1 to 5 where this Custom Variable name is stored for the current page view
"username", // Name, the name of the variable, for example: Category, Sub-category, UserType
"santosh", // Value, for example: "Sports", "News", "World", "Business", etc.
"visit"
);并且我生成了一个url,如下所示
http://localhost/news_wire/index.php?option=com_content&username=santosh&view=category&id=1&Itemid=2当我点击visitors>custom变量时,什么也不会发生。
发布于 2012-02-12 15:30:02
检查您正在查看的日期是否正确,您的代码是否正确。
https://stackoverflow.com/questions/7806062
复制相似问题