# Code on page

**Source:** <https://about.toplist.eu/code-on-page/>  
**Retrieved:** 2026-11-06

---

# Code on page

This guide shows you how to add the TOPlist measurement code to different CMS and pages.

If you have a similar guide, please send it to us at [pavel@toplist.cz](mailto:pavel@toplist.cz).

## Editorial systems (CMS)

Short guides for adding the measurement code to various CMS:

- **WordPress** – <https://wordpress.org/plugins/toplist/>
- **Joomla** – <http://www.phoca.cz/phoca-topliststatistics>
- **Drupal** – for version 5 there is a module: <http://drupal.org/project/czech_audit>
- **DokuWiki** – <http://www.dokuwiki.org/plugin:toplist>
- **Webnode** – <https://www.wpromotions.eu/ako-vlozit-pocitadlo-navstev-na-web-vo-webnode/>

## Google Tag Manager

If you use Google Tag Manager, you can easily insert the TOPlist measurement code (JavaScript) into Google Tag Manager without touching your site's code directly.

After logging in to Google Tag Manager, do the following in the "Workspace" area:

1. Click "Tag" in the left menu.
2. Create a new "Tag" by clicking the "New" button in the top-right corner, next to the magnifying-glass icon.
3. Name your new "Tag" by clicking into the "Untitled Tag" text field and typing a name.
4. Click into the "Tag Configuration" area.
5. From the list on the right side of the page, select "Custom HTML Tag".
6. In the HTML insertion field, paste the TOPlist JavaScript code, which you can find at <https://www.toplist.eu/code/> (obtain it by selecting the "None" / invisible-dot variant).
7. Check "Support document.write".
8. Click into the "Triggering" area at the bottom of the page, below the "Tag Configuration" area.
9. From the list on the right side of the page, select "All Pages".
10. Save everything by clicking the "Save" button in the top-right corner of the page.
11. Don't forget to publish your changes by clicking the "Submit" button in the top-right corner of the page.

---

© 1997 - 2026 TOPlist
