PHPackages                             foundation-commerce/module-rumvision-tracking - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. foundation-commerce/module-rumvision-tracking

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

foundation-commerce/module-rumvision-tracking
=============================================

RumVision tracking script integration for Magento 2 frontend pages

1.0.1(2mo ago)0661[1 PRs](https://github.com/Foundation-Commerce/magento2-rumvision-tracking/pulls)proprietaryPHPPHP ^8.1

Since Feb 18Pushed 2mo agoCompare

[ Source](https://github.com/Foundation-Commerce/magento2-rumvision-tracking)[ Packagist](https://packagist.org/packages/foundation-commerce/module-rumvision-tracking)[ RSS](/packages/foundation-commerce-module-rumvision-tracking/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

FoundationCommerce RumVision Tracking For Hyvä Theme
====================================================

[](#foundationcommerce-rumvision-tracking-for-hyvä-theme)

Integrates the RumVision real user monitoring (RUM) tracking script into all frontend pages of your Hyvä Theme. The script is configurable via the Magento admin panel and can be enabled/disabled per store view. The inline script is CSP compliant using Hyvä's `HyvaCsp` helper.

Installation
------------

[](#installation)

```
composer require foundation-commerce/module-rumvision-tracking

```

After installation or updates, run:

```
php bin/magento module:enable FoundationCommerce_RumvisionTracking
php bin/magento setup:upgrade
php bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

Navigate to: **Stores &gt; Configuration &gt; Foundation Commerce &gt; RumVision Tracking**

### General Settings

[](#general-settings)

- **Enable RumVision Tracking**: Turn the tracking script on/off
- **RumVision Site ID**: Your RumVision site ID (found in your RumVision dashboard, e.g. `RUM-66DC162C53`)
- **Domain Name**: The domain name passed to the RumVision tracking script (e.g. `example.com`)

The tracking script will only render on the frontend when the module is enabled and both a site ID and domain name are configured.

How It Works
------------

[](#how-it-works)

When enabled, the module injects the RumVision JavaScript tracking snippet before the closing `` tag on all frontend pages. The script loads asynchronously and does not block page rendering.

The inline script uses Hyvä's `HyvaCsp::registerInlineScript()` for Content Security Policy compliance. When full page cache is enabled, a SHA-256 hash of the script is added to the CSP header. When FPC is disabled, a nonce attribute is injected on the script tag instead.

Module Structure
----------------

[](#module-structure)

```
app/code/FoundationCommerce/RumvisionTracking/
├── Model/
│   └── Config.php              # Configuration accessor
├── ViewModel/
│   └── TrackingScript.php      # ViewModel for the tracking template
├── etc/
│   ├── acl.xml                 # Admin ACL resource
│   ├── adminhtml/
│   │   └── system.xml          # Admin configuration fields
│   ├── config.xml              # Default configuration values
│   └── module.xml              # Module declaration
├── view/
│   └── frontend/
│       ├── layout/
│       │   └── default.xml     # Layout injection on all pages
│       └── templates/
│           └── tracking-script.phtml  # Tracking script template
├── composer.json
├── README.md
└── registration.php

```

Troubleshooting
---------------

[](#troubleshooting)

- **Script not appearing**: Verify the module is enabled and both a site ID and domain name are set. Flush cache with `php bin/magento cache:flush`.
- **CSP errors in browser console**: Ensure the Hyvä theme module is installed and up to date. The `HyvaCsp` helper handles nonce/hash injection automatically.
- **Script on wrong pages**: The script is injected on all frontend pages via `default.xml`. To restrict it, modify the layout XML.
- **Check module status**: `php bin/magento module:status FoundationCommerce_RumvisionTracking`

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance83

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

88d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa3d6dd8b92c9e6554d823a26afc5cf85e229fa36c9cc523df955df5350d621d?d=identicon)[foundationcommerce](/maintainers/foundationcommerce)

---

Top Contributors

[![ryan-copeland](https://avatars.githubusercontent.com/u/6517831?v=4)](https://github.com/ryan-copeland "ryan-copeland (10 commits)")

---

Tags

magento2-module

### Embed Badge

![Health badge](/badges/foundation-commerce-module-rumvision-tracking/health.svg)

```
[![Health](https://phpackages.com/badges/foundation-commerce-module-rumvision-tracking/health.svg)](https://phpackages.com/packages/foundation-commerce-module-rumvision-tracking)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

281773.3k](/packages/baldwin-magento2-module-url-data-integrity-checker)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
