adding tracking parameter is treating url as differnt

守給你的承諾、 提交于 2019-12-13 06:36:10

问题


I am using Disqus for comments management.But the problem is its treating below link as different

http://gpuzzles.com/mind-teasers/logical-age-riddle/

http://gpuzzles.com/mind-teasers/logical-age-riddle/?source=tracking1

as a result comments in one post is not reflecting in other post.

Please suggest a solution


回答1:


By default Disqus will identify a unique thread by its unique URL in the window. This is a very easy way to integrate, but isn't too reliable as you're seeing.

To prevent this you would want to pass a 'disqus_identifier' and/or a 'disqus_url' javascript variable. You can read about these here: http://help.disqus.com/customer/portal/articles/472098

That'll override looking at the window location for a unique identifier.



来源:https://stackoverflow.com/questions/17091586/adding-tracking-parameter-is-treating-url-as-differnt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!