Share buttons that stay out of the way.no account required
AddToSite

← All customization

One service at a time

The LinkedIn button and its endpoint

The LinkedIn button posts through the public share-offsite endpoint rather than through LinkedIn’s own embeddable widget, so nothing third-party runs on your page. It is handed the address and nothing else; every word of the preview comes from the page itself.

The code

<div class="ats_kit ats_kit_size_32">
  <a class="ats_btn_linkedin" data-label="Post"></a>
</div>

One parameter

Like Facebook, LinkedIn takes the link and reads the rest from it. A title you set with data-title changes what other services post and changes nothing here, because there is no slot for it — whatever LinkedIn shows in the composer it fetched from your og: tags itself.

https://www.linkedin.com/sharing/share-offsite/?url={url}

Which address it is given

The kit’s data-url if there is one, then the page’s canonical link, then the address in the browser bar. On a listing page that is how each row posts its own article rather than the index it sits on. Campaign tagging, where it is switched on, is written into the href before the reader ever presses — so the tag survives a middle-click too.

Live demo

An article worth passing on

One LinkedIn button, labelled. It is an ordinary anchor with a real address in its href, so middle-click and copy link address reach the share page rather than a dead hash.

Services (1 selected)

Button size

Shape

Behaviour

<div class="ats_kit ats_kit_size_32">
  <a class="ats_btn_linkedin" data-label="Post"></a>
</div>

<script async src="//static.addtosite.com/widget.js"></script>

Related

More in One service at a time