Jump to content
vidmarc

AddThis plugin no longer displaying on pages

Recommended Posts

Did your browsers recently get an update? Firefox or Chrome?

If so, "AddThis" may now be in the browser's "Do Not Allow" list of social trackers. Or the browser's settings may have enabled "Disallow third-party cookies" (might be possible to switch this to "Allow").

Share this post


Link to post
Share on other sites

Wordpress install says browser has it blocked, just as Bsmither suggested. Haven't found setting yet, but thought I would give result there.

Share this post


Link to post
Share on other sites

It seems to be more than this - nobody has clicked any share buttons in a very long time.

Share this post


Link to post
Share on other sites

I use AddThis to add products to Pinterest, Facebook, and Twitter each time I list something new - that was the 24th. So mine is a recent issue. It was working as-is on Chrome, but FireFox required changing my Security settings.

Share this post


Link to post
Share on other sites

I'm seeing a lot of these:

 

A cookie associated with a cross-site resource at https://accounts.google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

 

Edited by vidmarc

Share this post


Link to post
Share on other sites
A cookie associated with a cross-site resource at https://accounts.google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

I saw that looking at the Chrome Developer Tools comments on our site as well. Looks like something CC will need to fix before the next upgrade or maybe now??

1 hour ago, bsmither said:

This conversation at AddThis from many years ago may provide a clue:
https://addthis.desk.com/customer/portal/questions/2916419-addthis-not-working-on-firefox-or-chrome?b_id=16950

 

Yes, I had to change my Security Settings to allow Social Trackers to get AddThis working again. I thought I had that turned off with an exception for a few sites, like AddThis. I'll fiddle more tomorrow and see if I can find a Custom setting on FF that I like.

Edited by Dirty Butter

Share this post


Link to post
Share on other sites

The AddThis code isn't actually even apearing in the page code anymore either, even though the plugin is enabled.

Share this post


Link to post
Share on other sites

Assuming the AddThis module is functioning correctly, CubeCart's code when displaying a product will assign the module's output to the template variable SHARE.

Edit the template content.product.php by adding at the very bottom of the file {debug}. When you request a product page, your browser will want to show a popup window. Let it. (You may need to re-request that page.)

In the popup, scroll to where SHARE should be listed and verify that there is some content for that variable.

If so, then in the template code, make sure it has {$SHARE} somewhere. It may be in an element template if that is how your skin is coded.

If all that seems to be working, then it is possible the browser (or add-on) has adopted the policy of actually modifying the received HTML, stripping out potentially unwanted content, then sending the edited content to the browser's page rendering system.

There has been some argument over this. A recent browser version has eliminated a popular code entry point (API call) that will allow the add-on to manipulate received code to do things like this -- thus breaking a lot of AdAware-type add-ons. Then some browsers will do this kind of manipulation anyway.

Share this post


Link to post
Share on other sites

I see:

share => "Share"
$SHARE
Origin: "Smarty object" 	
Value
Array (2)
0 => "<script src="//connect.facebook.net/en-GB/all.js#xfbml=1"></script><fb:like ..."
1 => null

I guess I could add the AddThis code directly to this same template?

ps: reply from AddThis:

 

Quote

Thank you for contacting AddThis support.

I am not sure the extension link provided is supported by us. I wll ask my team and let you know.

In the meantime, here’s a quick video tutorial on how to install AddThis code on an HTML website.

You can also find step-by-step instructions by logging into your AddThis Dashboard and clicking on the “Get The Code” section in the header. From there, you’ll be able to select instructions for installing code on an HTML site, as well as platforms such as Wordpress, Magento, Shopify, and more.

If you need further assistance, please visit the newly redesigned AddThis Academy or respond to this e-mail.

 

Edited by vidmarc

Share this post


Link to post
Share on other sites

I don't recognize the first one.

The second seems to show a link to a Facebook page, and perhaps the null is supposed to be the AddThis code.

The AddThis module will not return anything (thus, null) if CubeCart's session for this visitor has not accepted the use of cookies. So, if CubeCart thinks the visitor has not agreed to have third-party cookies in use, or has actively selected to block them, the AddThis module will not deliver any code for CubeCart to put in the SHARE template variable.

Share this post


Link to post
Share on other sites

It's strange that nobody else is seeing the AddThis buttons either, the AddThis stats have been dormant for quite some time now.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...