Pragmatica Lens helps journal managers understand how their website and articles are discovered and accessed by readers. Through the Pragmatica Lens dashboard, you can monitor website visits, unique readers, PDF downloads, Google Scholar referrals, article performance, and website indexability.
This guide explains how to use Pragmatica Lens from the beginning, including creating an account, adding your journal website, installing the tracking code on OJS, and understanding the data shown in the dashboard.
How to Set Up Pragmatica Lens on OJS #
1. Create a Pragmatica Lens Account #
The first step is to create a Pragmatica Lens account.
Open the registration page:
https://app.pragmaticalens.com/register
Complete the registration form with the following information:
- Name
- Institution or company
- Email address
- Password
Your password must contain at least 8 characters.
After completing the form:
- Complete the I’m not a robot verification.
- Click Register.
- Pragmatica Lens will send a verification email to your registered email address.
- Open the email and click the verification link.
Your email must be verified before you can add a journal website to Pragmatica Lens.

After your email has been verified, open the login page:
https://app.pragmaticalens.com/login
Enter your email address and password, then click Login.
Did Not Receive the Verification Email? #
Check your Spam or Junk folder.
If you still cannot find the email, log in to Pragmatica Lens and resend the verification email.
Also make sure that the email address you entered is correct.
2. Add Your Journal Website #
After your first login, Pragmatica Lens will ask you to create a site.
One Site represents one journal or academic website.
There are two main fields that need to be completed.
Site Name #
Enter the name of your journal.
Example:
Journal of Law and Society
Use a clear journal name because this name will also appear in the Pragmatica Lens dashboard.
Domain #
Enter the full address of your journal website.
Example:
https://journal.university.ac.id/index.php/law
If your journal is located inside an OJS subdirectory, make sure the complete journal URL is entered.
When finished, click Create Site.

After the site has been created, Pragmatica Lens will generate a configuration for the journal, including the tracking snippet that will later be installed on the journal website.
3. Install Pragmatica Lens Tracking on OJS #
After the journal website has been added, the next step is to install the tracking snippet.
The tracking snippet is a short piece of code that allows Pragmatica Lens to collect activity from your journal website.
You can copy this code from the setup page.
If you have already completed the initial setup, the tracking snippet can also be found under:
Settings → Integrations

Install the Tracking Code on Open Journal Systems (OJS) #
For OJS, the tracking snippet can be installed using the Custom Header Plugin.
First, log in to OJS as a Journal Manager or Administrator.
Open the OJS plugin page and make sure that the Custom Header Plugin is enabled.
After the plugin is enabled, open its settings.
Find the following section:
Header Content
Paste the Pragmatica Lens tracking snippet into this field.
When finished, save the changes.


For Open Monograph Press (OMP) #
The installation process on OMP is similar to OJS.
Enable the Custom Header Plugin, then paste the tracking snippet into:
Header Content
Save the changes after the code has been added.
For Other Platforms #
Pragmatica Lens can also be used on other platforms.
For WordPress, place the tracking snippet inside the website <head> using the active theme or a header script plugin.
For DSpace, add the snippet to the active theme or frontend template used by public pages.
For Leconfe, use the available custom HTML or header configuration area.
4. Verify the Tracking Installation #
After the tracking snippet has been installed, return to Pragmatica Lens.
Click Verify.
Pragmatica Lens will check whether the tracking code can be found on your journal website.
The verification process may take several seconds.

If the tracking code is successfully detected, your journal website is now connected to Pragmatica Lens.
If the tracking code is not detected:
- Make sure the code has been saved in OJS.
- Make sure the correct tracking snippet is being used.
- Clear the OJS cache.
- If you use Cloudflare or another CDN, clear the CDN cache.
- Make sure the tracking code appears on public journal pages.
- Click Verify again.
Check the Tracking Code Manually #
Open the journal homepage.
Right-click the page and select:
View Page Source
Search for:
pragmaticalens
or the Pragmatica Lens tracking script.
If the tracking code appears in the page source, it means the code has been loaded by the website.
Introduction to Pragmatica Lens and Its Key Features #
5. Understanding the Pragmatica Lens Dashboard #
After tracking is active and your website starts receiving visits, data will begin appearing in the dashboard.
The first data usually appears after new activity is recorded on the website.

Some of the main data shown in the dashboard include:
Total Views #
Shows how many pages have been viewed by visitors.
One visitor may generate several page views if they open multiple pages.
Unique Visitors #
Shows the estimated number of unique visitors accessing your website.
This helps you understand the number of readers, not only the number of pages they opened.
PDF Downloads #
Shows activity related to PDF article access or downloads.
This can help identify which articles receive the most reader interest.
Scholar Referrals #
Shows visits that came from Google Scholar.
This helps you understand how many readers are discovering your articles through Google Scholar.

6. Understanding the Indexability Score #
The dashboard also includes an Indexability Score.
The Indexability Score helps you understand the condition of your journal website based on several signals related to discoverability and accessibility.
The score ranges from:
0 to 100
Some factors that may affect the score include:
- Crawler activity
- Google Scholar referrals
- DOI condition
- Sitemap accessibility
- DOI activity
- Visitor behaviour
Better website and article conditions can result in stronger indexability signals.

The Indexability Score should be used as an indicator to help identify areas that may need attention. It should not be treated as the only measurement of journal quality.
7. View Reader Countries #
Pragmatica Lens also shows where readers are coming from by country.
The dashboard includes a map and a list of countries with the highest visitor activity.
This information can help you understand the international reach of your journal.

For example, you may see readers coming from Indonesia, Malaysia, the United States, India, or other countries.
8. Select a Data Period #
Dashboard data can be displayed for different time periods.
Use the Period Selector to choose the date range you want to analyze.
Available options may include:
- This Week
- Last 7 Days
- Last 30 Days
- Last 90 Days
- This Year
- Last 6 Months
- Last 12 Months
- All Time
- Custom Range

Choose the period based on your reporting needs.
For example, use Last 30 Days to review activity from the previous month.
9. View Article Performance #
Pragmatica Lens can detect articles that include standard citation metadata.
In OJS, metadata such as the article title and DOI is normally already available on article pages.
To view article performance, open:

Articles
On this page, you can review information such as:
- Views
- Downloads
- Scholar referrals
- DOI information
This makes it easier for editors to understand which articles receive the most attention.
10. Check Article DOI #
Pragmatica Lens includes a DOI checking feature.
On the Articles page, select the article you want to check.
Then click:
Check DOI

Pragmatica Lens will check whether the DOI can be resolved and whether it points to the correct article page.
If a DOI is broken or points to the wrong page, review the DOI configuration for that article.
DOI issues may affect the discoverability and indexability of an article.
11. Enable the Public Page #
Pragmatica Lens provides a Public Page that allows selected statistics to be viewed without logging in.
Open:
Public Page
Then enable the public page.

After it is enabled, Pragmatica Lens will provide a public URL for your journal.
You can share this page with readers, institutions, or other users who want to view the journal statistics.
Anyone with the public link can access the page without a Pragmatica Lens account.
If you no longer want the statistics to be publicly available, you can disable the feature at any time.
12. Add the Flag Counter #
Pragmatica Lens also provides a Flag Counter.
The Flag Counter displays visitor countries in the form of a badge that can be added to your journal website.

Copy the Flag Counter code and place it wherever you want it to appear on the journal website.
For example:
- Journal sidebar
- Footer
- Homepage
- OJS Custom Block
When a visitor clicks the Flag Counter, they can be directed to the journal’s Public Page.
For this reason, enable the Public Page first if you want to use this feature.

13. Invite Team Members #
If the journal is managed by several people, you can give other team members access to Pragmatica Lens.
Open:
Team
Enter the email address of the colleague you want to invite.

The invited user should already have a Pragmatica Lens account.
Then choose the appropriate role.
Editor #
An Editor can:
- View the dashboard
- View article data
- Work with article and tracking-related features
Viewer #
A Viewer has read-only access to dashboard data.
Owner #
The Owner manages site settings and team members.
Assign roles based on each team member’s responsibilities.
14. Update Your Profile and Password #
To update account information, open:
Profile
On this page, you can update:
- Name
- Password
- Interface language
- Email address

If you change your email address, Pragmatica Lens will send a confirmation link to the new email address.
The email change will only be completed after the confirmation link is opened.
15. API Key #
Each site has an API Key used to connect Pragmatica Lens with the website.
The API Key should not be shared with unauthorized users.
If the API Key is regenerated, the previous key will stop working.
For this reason, do not use Regenerate API Key unless it is necessary.
If the website configuration depends on the API Key, make sure the website configuration is also updated after the key changes.

If you use a screenshot from a real account, hide part of the API Key before publishing the image.
16. Import Historical Data #
If you previously used services such as FlagCounter or StatCounter, Pragmatica Lens provides an option to import historical public statistics.
Open:
Data Migration
Then follow the available import process.

Imported historical data is kept separate from data collected directly by Pragmatica Lens.
This helps prevent historical data from being mixed with new tracking data.
Frequently Asked Questions #
How Long Does It Take for Data to Appear? #
Data normally starts appearing after your website receives new activity.
After the tracking code has been verified, open several journal pages and then refresh the Pragmatica Lens dashboard.
Under normal conditions, the first data may appear within a few minutes.
Does Pragmatica Lens Slow Down the Website? #
The Pragmatica Lens tracking script loads asynchronously.
This means the tracking process runs in the background and does not need to finish before the journal page is displayed to visitors.
Does Pragmatica Lens Use Cookies? #
Pragmatica Lens tracking does not use cookies for visitor tracking.
Raw IP addresses are also not stored directly and are processed in hashed form.
Who Can View the Public Page? #
If the Public Page is enabled, anyone who has the link can open it.
If you do not want journal statistics to be publicly available, you can disable the feature at any time.
Troubleshooting #
If Pragmatica Lens is not receiving data after the tracking code has been installed, check the following:
- Make sure the journal website is publicly accessible.
- Make sure the tracking snippet has been installed.
- Make sure the snippet appears in the journal page source.
- Make sure the registered domain is correct.
- Clear the OJS cache.
- Clear Cloudflare or CDN cache if applicable.
- Make sure the website security system is not blocking the tracking script.
- Open several journal pages to generate new activity.
- Return to Pragmatica Lens and run the verification again.

Finished #
Pragmatica Lens is now connected to your journal website.
Once tracking is active, you can use the dashboard to monitor journal activity, review article performance, check Google Scholar referrals, monitor DOI status, understand reader locations, and review journal indexability.
For daily use, there are three main sections worth checking regularly:
Dashboard to monitor journal traffic and visitor activity.
Articles to review individual article performance and DOI status.
Indexability Score to help identify parts of the website or article metadata that may need attention.
If Pragmatica Lens is still not receiving data, check the tracking snippet and registered domain first before making further changes to the journal website.
