如果不跟踪分析,AddThis 按钮的代码是否需要具有 pubid 字符串?
我正在编写一个 ASP.NET 服务器控件来呈现各种项目中的 addthis 按钮。
请注意下面的 pubid 字符串。启用分析后,该字符串就是用户 ID。对于服务器控件,我将从 appSettings 中检索 id。如果不跟踪分析,该字符串有多重要?如果该字符串被保留(url 的 js 扩展名后面的所有内容),addthis 仍然可以正常工作吗?由于即使没有帐户,每个站点都会生成一个唯一的字符串,我认为它一定具有一定的重要性。因此,底线问题是,如果没有遵循任何分析,则如果 pubid 被关闭,AddThis 能否正常工作?谢谢...
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-4ee96d151f836a06"></script>
<!-- AddThis Button END -->
I am writing an asp.net server control to render the addthis buttons in various projects.
Notice the pubid string below. With analytics enabled that string is the userid. For the server control i will retreive the id from appSettings. How important is that string if analytics are not being tracked? If that string is left off (everything after the js extension of the url) will addthis still work correctly? Since a unique string is generated for each site even if there is no account i thought it must have some importance. So bottom line questions is will AddThis work correctly if the pubid is left off if no analytics arebing followed? Thanks...
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-4ee96d151f836a06"></script>
<!-- AddThis Button END -->
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,如果您不收集分析数据,则不需要配置文件 ID。但是,没有个人资料 ID 的用户将无法通过电子邮件发送共享作为反垃圾邮件的措施。
No, the profile ID isn't necessary if you're not collecting analytics. However, users without a profile ID won't be able to send shares via email as a spam fighting measure.