How to Embed Altmetric Widgets
Answer
These widgets use article DOI and other identifiers to connect Altmetric data to the specific article.
Overview: https://www.altmetric.com/products/altmetric-badges/
Widget Instructions: https://api.altmetric.com/embeds.html
To use widget code for a specific article:
[1] Click on a widget, for example, in the Drexel Research Discovery database
[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://researchdiscovery.drexel.edu/esploro/outputs/991020111492104721" target="_blank">Standards of Care for the Health of Transgender and Gender Diverse People, Version 8</a></p>
<script type="text/javascript" src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script>
<div class="altmetric-embed" data-badge-popover="right" data-badge-type="donut" data-hide-no-mentions="true" data-doi="10.1080/26895269.2022.2100644"></div>
Standards of Care for the Health of Transgender and Gender Diverse People, Version 8