首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >joomla中的Piwik自定义变量不起作用

joomla中的Piwik自定义变量不起作用
EN

Stack Overflow用户
提问于 2011-10-18 18:49:48
回答 1查看 350关注 0票数 0

我添加了以下代码来设置自定义变量

代码语言:javascript
复制
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,如下所示

代码语言:javascript
复制
http://localhost/news_wire/index.php?option=com_content&username=santosh&view=category&id=1&Itemid=2

当我点击visitors>custom变量时,什么也不会发生。

EN

回答 1

Stack Overflow用户

发布于 2012-02-12 15:30:02

检查您正在查看的日期是否正确,您的代码是否正确。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7806062

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档