Install on Drupal
Install the Modovisa module and paste your Tracking Token to start real-time analytics.
The recommended way to add Modovisa to Drupal is the official module. Download it from Drupal.org, enable it, and paste your
Tracking Token in the configuration screen—no theme/template edits required.
If your site uses caching (Drupal cache, reverse proxy, or CDN), clear it after enabling the module so the script appears on public pages.
Step-by-step
- Sign up at modovisa.com.
- Set up tracking for your website to get your Tracking Token.
- Download the module from drupal.org/project/modovisa/releases/1.0.0 (
.zip or .tar.gz).
- Upload the archive to your site’s
modules/contrib directory and extract it.
- Sign into your Drupal Admin dashboard.
- Go to Extend → List.
- Search for “Modovisa Analytics”.
- Select the module and click Install.
- Go to Configuration → System → Modovisa.
- Paste your Tracking Token and click Save configuration.
- Go to Configuration → Development → Performance and click Clear all caches.
Alternative — Install via Composer
If your Drupal project is managed with Composer, you can add the Modovisa module from Drupal.org via CLI, then enable it in the UI (or with Drush).
composer require 'drupal/modovisa:^1.0'
- Run the Composer command above from your Drupal project root.
- In the Drupal admin, go to Extend → List, search for Modovisa Analytics, and click Install.
- Go to Configuration → System → Modovisa, paste your Tracking Token, and Save configuration.
- Go to Configuration → Development → Performance and Clear all caches.
# Optional: enable via Drush (if available)
drush en modovisa -y
drush cr
If the machine name differs in your install, enable it from the UI via Extend → List. After enabling, always clear caches so the tracking script is served.
Verify the installation
- Open your site in a new tab → DevTools → Network → search for
modovisa.min.js.
- Enable “Preserve log” and refresh—confirm the script loads on public pages.
- In the Modovisa dashboard, open Live to see your visit in real time.
Using a CDN or reverse proxy (Varnish/Cloudflare)? Purge it after module activation. Some themes also ship their own asset cache—clear that too.