Tutorial: Plum Analytics Integration
Role: Journal Manager / Site Administrator
Time: 15โ30 minutes
OJS Version: 3.5+
Plum Analytics (part of Elsevier) provides article-level metrics โ usage, captures, mentions, social media activity, and citations โ displayed via PlumX Widgets. This tutorial covers how to add PlumX Widgets to your OJS article pages.
Before You Startโ
- You have Journal Manager or Site Administrator access in OJS.
- Your articles have DOIs registered with CrossRef (PlumX widgets use DOIs to identify articles). See Enable DOIs with CrossRef.
- Your institution or journal has a Plum Analytics subscription, or you are using the free PlumX widget tier.
Free vs Paid
The basic PlumX Widget is free to embed and shows a subset of metrics. Full Plum Analytics dashboards require an Elsevier subscription.
Option A โ Custom HTML Block (Easiest)โ
For journals without a dedicated OJS plugin:
Step 1 โ Get the PlumX Widget Scriptโ
- Go to plumanalytics.com/learn/about-metrics/.
- Navigate to the PlumX Widgets section.
- Copy the standard widget embed code. It looks like:
<script type="text/javascript" src="//cdn.plu.mx/widget-popup.js"></script>
<a href="https://plu.mx/plum/a/?doi=YOUR_DOI"
class="plumx-plum-print-popup"
data-site="plum"
data-hide-when-empty="true">
</a>
Step 2 โ Embed via Custom Header Pluginโ
- Go to Settings โ Website โ Plugins โ Installed Plugins.
- Enable Custom Header Plugin.
- Click Settings next to the Custom Header Plugin.
- Paste the PlumX widget script in the header field.
- Save.
The widget script loads on every page. Replace YOUR_DOI with the article DOI in templates, or use the approach in Option B below.
Option B โ Template Override (Advanced)โ
For Site Administrators who can modify OJS template files:
- Locate the article detail template:
templates/frontend/pages/article.tpl(or copy to your custom theme's templates directory). - Add the PlumX widget code inside the metrics/statistics section, substituting
{$article->getStoredPubId('doi')}for the DOI. - Clear the template cache: Administration โ Clear Template Cache.
Step 3 โ Test the Widgetโ
- Navigate to a published article that has a registered DOI.
- The PlumX badge should appear showing usage, captures, and citations.
- Click the badge to expand the full metrics popup.
Troubleshootingโ
| Problem | Solution |
|---|---|
| Widget shows but no data | The DOI may not yet be indexed by Plum; allow 1โ7 days for new DOIs |
| Widget does not appear | Check that the script is loading (browser developer tools โ Network tab) |
| DOI not found | Verify the DOI is correctly registered and resolves at doi.org |
Next Stepsโ
- Enable DOIs with CrossRef โ required for PlumX widgets
- Scopus/CrossRef Citation Counter Setup โ add citation counts from Scopus and CrossRef
- ASEO & Discoverability โ improve indexing and visibility