gapro.idstring=||标题||在 Google Analytics Pro 插件中
我最近将 JWPlayer 和 GAPro 插件添加到我的网站。
跟踪似乎一直有效,直到我添加自定义 flashvar:
gapro.idstring=||title||
我现在没有在 GA 中获取任何事件数据(但是我正在获取该页面的访问者数据)
阅读他们的论坛,我猜这是因为没有可供从中提取的“标题”值。查看我的页面源代码,我看到引用视频标题的是:
meta property='og:title' content='Taiwan Artist Shara Lin'
我该如何解决这个问题?执行以下操作的正确方法是:
gapro.idstring=||og:title||
或者我是否必须手动将其添加到我的短代码中,例如:
[jwplayer config="Conversioneering" title="台湾艺术家 Shara Lin" mediaid="337"]
非常感谢您的帮助!
I've recently added both the JWPlayer and the GAPro addon to my site.
The tracking seemed to be working until I added the custom flashvar:
gapro.idstring=||title||
I'm not getting any event data in GA now (I am however getting visitor data to that page)
Reading their forums, I'm guessing it's because there isn't a "title" value for it to pull from. Looking at my page source code, all I see that references the video title is:
meta property='og:title' content='Taiwan Artist Shara Lin'
How do I fix this? Is the right way to do something like:
gapro.idstring=||og:title||
or do i have to manually add it to my shortcode like:
[jwplayer config="Conversioneering" title="Taiwan Artist Shara Lin" mediaid="337"]
your help is greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过将标题添加到短代码来解决该问题
如果您可以在一个页面上有多个视频,每个视频都有自己的标题,GA 将捕获每个视频的所有视频跟踪信息。
You can resolve the issue by adding the title to the shortcode
If you can have multiple videos on one page, each with their own title, GA will capture all of the video tracking info per video.