javascript - A random '#.XXXXXXXXXXX' string is added to my URL when I use the AddThis code? - Stack Overflow

I have added "AddThis" to my website and this is the code I have used : <!-- AddThis Butto

I have added "AddThis" to my website and this is the code I have used :

        <!-- AddThis Button BEGIN -->
                <a class="addthis_button_facebook_like" addthis:url="" fb:like:layout="button_count"></a>
                <a class="addthis_button_tweet"></a>
                <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
            <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
            <script type="text/javascript" src=".js#pubid=ra-4fabf4922f71c398"></script>
        <!-- AddThis Button END -->

Now for some reason, every time I go to a page this happens to the URL:

http://domain/page#.T7FTDJ8ti28

The #.T7FTDJ8ti28 changes every time I refresh the page, and I am concerned that this might confuse Google or other search engines. It also just doesn't look good to have it in the URL, so how can I get rid of it?

I have added "AddThis" to my website and this is the code I have used :

        <!-- AddThis Button BEGIN -->
                <a class="addthis_button_facebook_like" addthis:url="http://facebook./MySpills" fb:like:layout="button_count"></a>
                <a class="addthis_button_tweet"></a>
                <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
            <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
            <script type="text/javascript" src="http://s7.addthis./js/250/addthis_widget.js#pubid=ra-4fabf4922f71c398"></script>
        <!-- AddThis Button END -->

Now for some reason, every time I go to a page this happens to the URL:

http://domain/page#.T7FTDJ8ti28

The #.T7FTDJ8ti28 changes every time I refresh the page, and I am concerned that this might confuse Google or other search engines. It also just doesn't look good to have it in the URL, so how can I get rid of it?

Share Improve this question edited May 14, 2012 at 18:49 mdb 52.9k11 gold badges66 silver badges62 bronze badges asked May 14, 2012 at 18:47 Ahoura GhotbiAhoura Ghotbi 2,89614 gold badges38 silver badges65 bronze badges 6
  • 2 that's called a HASH, and it's needed so AddThis can track the links. – balexandre Commented May 14, 2012 at 18:48
  • what exactly do they track with that??? and does it affect SEO? – Ahoura Ghotbi Commented May 14, 2012 at 18:50
  • @JohnFlatness thanks for that, please add that as an answer – Ahoura Ghotbi Commented May 14, 2012 at 18:52
  • On closer inspection, balexandre had already posted the same link. – John Flatness Commented May 14, 2012 at 18:54
  • My bad I didnt see that, @balexandre could you post the link as an answer so I can close this question?? – Ahoura Ghotbi Commented May 14, 2012 at 18:56
 |  Show 1 more ment

2 Answers 2

Reset to default 5

That is monly calling: a HASH and it serves to several things.

In AddThis context, it serves to track links in a way so they know what is a direct link and a shared link.

All is explained in their analytics article.

This will not have any impact on Search Engine Optimization (SEO) as the rule is to track the regular link part and not the hashed part.


If, by the way, you want to know more on how the hash part of a web address is used for, the link below is a good start point article to read.

Are We Breaking the Web With a Hash and a Bang?

Change

var addthis_config = {"data_track_addressbar":true};

To

var addthis_config = {"data_track_addressbar":false};

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744328535a4568772.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信