0

We are using Addthis sharing button by adding the JS to the page. We have done the following but for some reason, everytime we share using LinkedIn the "source=" is always blank.

Goal:

  1. Configure the LinkedIn URL that is generated to include source

Current behavior (after clicking LinkedIn share button):

http://www.linkedin.com/shareArticle?mini=true&url=insert-url&title=insert-title&source=

Desired output:

http://www.linkedin.com/shareArticle?mini=true&url=insert-url&title=&source=www.domain.com

0

Per LinkedIn's Share on LinkedIn documentation, the "Source" is supposed to represent the source of the content (e.g. your website or application name). That said, it may block/prohibit a url as a value (but I doubt that). There's a couple possible reasons why the source information isn't being populated from AddThis' side.

1) AddThis platform's LinkedIn Share button code is looking for a setting/attribute from your AddThis account where you setup the button. You may need to register the domain in AddThis where you configured the button.

2) AddThis code is looking for missing metatag data. Try adding metatags in your site-wide templates for the application-name, author, creator, and publisher. Refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta

If both of those approaches hit a dead-end, I'd recommend you submit a help ticket with AddThis. Their developer / API documentation doesn't provide much insight on how they determine/populate the source parameter for the share link.

  • According to AddThis they are not able to supply the Source attribute – usernameabc Jan 8 '18 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.