How to Embed Altmetric Widgets?
Answer
These widgets use article DOI to identify the specific article.
PlumX
Overview: https://plumanalytics.com/integrate/embed-metrics/
Widget Instructions: https://plu.mx/plum/developers/widgets
To use widget code for a specific article:
[1] Click on a widget from a Pure Portal publication
[2] Click on “see details” in the PlumX list
[3] In the following page, click “Embed Widget” (top right). There are multiple configuration options – the below code makes the widget size medium and moves the popup box to the left.
[4] Then click “Get Code” and copy it to your web page.
Sample Code
<script type="text/javascript" src="//d39af2mgp1pqhg.cloudfront.net/widget-popup.js"></script>
<p><a class="plumx-plum-print-popup" data-hide-when-empty="true" data-popup="left" data-site="plum" data-size="medium" href="https://plu.mx/plum/a/?doi=10.1103%2Fphysrevlett.118.237201">Bottleneck Accumulation of Hybrid Magnetoelastic Bosons</a> <a href="https://journals-aps-org.ezproxy.weizmann.ac.il/prl/abstract/10.1103/PhysRevLett.118.237201" target="_blank">Bottleneck Accumulation of Hybrid Magnetoelastic Bosons</a></p>
Altmetrics
Overview: https://www.altmetric.com/products/altmetric-badges/
Widget Instructions: http://api.altmetric.com/embeds.html
To use widget code for a specific article:
[1] Click on a widget from a Pure Portal publication
[2] Click on “see more details” at the bottom of the widget
[3] In the following page, click “Embed badge” (top right)
[4] No options to configure, just copy and paste the code into your web page. There is a link at the bottom for customization options and that provides a menu interface for building a customized badge.
Sample Code:
<p><a href="https://journals-aps-org.ezproxy.weizmann.ac.il/prl/abstract/10.1103/PhysRevLett.118.237201" target="_blank">Bottleneck Accumulation of Hybrid Magnetoelastic Bosons</a></p>
<script type="text/javascript" src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>
<div class="altmetric-embed" data-altmetric-id="20917645" data-badge-popover="right" data-badge-type="donut" data-doi="10.1103%2Fphysrevlett.118.237201"> </div>