AddThis Code Not Showing

Vintage_Books_Cookbooks Jul 13, 2012 06:31AM EDT

I copied the AddThis and added to my Sales Policy, which will show up on every listing. The pasted shows as QUOTE: var addthis_config = {"data_track_addressbar":true}; ENDQUOTE. Sorry, I'm not computer tech savvy, but hope you can help me, please. Following is link to my Blujay Marketplace store ... you can key on any item listing and scroll to bottom to view the AddThis attempt. Much Appreciation, Susan
http://www.blujay.com/Vintage_Books_Cookbooks

Up 0 Rated Down
Sol (AddThis Happiness Specialist) Jul 13, 2012 02:53PM EDT
Hi Susan, unfortunately, you are missing some additional lines of code to make AddThis work. What I would recommend is going to http://www.addthis.com/get/sharing and select the style of buttons you want from the left panel. Then select all the code in the textarea box, it should look something like:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_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/250/addthis_widget.js#pubid=xa-50006e443031a212"></script>
<!-- AddThis Button END -->

And you can use the code above, but make sure to replace "xa-50006e443031a212" with your pubid to make sure you can access your analytics on the addthis.com site. I hope this helps, if you still have questions, please let me know.
Up 0 Rated Down
Vintage_Books_Cookbooks Jul 16, 2012 08:51AM EDT
Thank you, Sol, but as I said earlier, I DID copy exactly per GrabIt button and the end result on viewed page is the exact following: QUOTE: <div >
<a ></a>
<a ></a>
<a ></a>
<a ></a>
<a ></a>
<a ></a>
</div>
ENDQUOTE. Strangely, when I go into edit the page where I had pasted, my original copy of the GrabIt text has disappeared and all that remains is the above, as you said, only PART of the original. I have no problem putting sitemeter, clustermap, copyscape, paypal, and other html links in the same area, so why isn't AddThis html taking? Just keep playing with it and can't get it to work! HELP! Thank you, Sol.


Up 0 Rated Down
Sol (AddThis Happiness Specialist) Jul 16, 2012 08:56AM EDT
Hi Susan, I am going to guess that whatever you are using to edit the page is stripping out the Javascript. What are you using to edit the page?

One possible way to work around this is to split up the code into 2 parts. One part will just have the HTML code like this:

<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1">&nbsp;</a>
<a class="addthis_button_preferred_2">&nbsp;</a>
<a class="addthis_button_preferred_3">&nbsp;</a>
<a class="addthis_button_preferred_4">&nbsp;</a>
<a class="addthis_button_compact">&nbsp;</a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>

Place the code above wherever you want the buttons to appear. Now place the following code with the rest of your Javascript (like Google Analytics or other JS blocks that you have inserted):

<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-50006e443031a212"></script>

I hope this works, but if you're still having problem, please let me know.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers