{"id":20887679,"url":"https://github.com/opsway/magento-mod-rum","last_synced_at":"2025-10-17T23:13:36.220Z","repository":{"id":12485726,"uuid":"15155069","full_name":"opsway/magento-mod-rum","owner":"opsway","description":"Real-User-Monitoring module that gather information with Boomerang and send it Google Analytics","archived":false,"fork":false,"pushed_at":"2014-04-14T05:56:08.000Z","size":6880,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-01-19T11:17:56.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opsway.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-13T04:52:38.000Z","updated_at":"2023-07-04T04:30:49.000Z","dependencies_parsed_at":"2022-09-06T04:12:31.685Z","dependency_job_id":null,"html_url":"https://github.com/opsway/magento-mod-rum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-rum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-rum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-rum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opsway%2Fmagento-mod-rum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opsway","download_url":"https://codeload.github.com/opsway/magento-mod-rum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243268695,"owners_count":20263910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T08:21:52.194Z","updated_at":"2025-10-17T23:13:31.173Z","avatar_url":"https://github.com/opsway.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Magento module for site performance real-user monitoring (RUM) using GoogleAnalytics\n==========\n\nModule is based on [boomerang.js library](https://github.com/lognormal/boomerang/) and it is inspired by [great presentation done by Philip Tellis](http://www.slideshare.net/bluesmoon/boomerang-how-fast-do-users-think-your-site-is)\n\nHow does it work?\n-----------\n1. On every page load module is trying to page type using Magento layout handles.\nPage types includes: homepage, category page, product page, my account, etc\n\n2. Once in a while for defined %% of users we try to find out user Bandwidth and Latency and put it in Google Analytics Custom variables.\nCheck js/boomerang/boomerang.js for details, see formatBwLatency() function\nCurrently the list of bandwidth and latency variants is the following:\n\nBandwidth:\n\n* \u003c64Kb/s\n* 64Kb/s-512Kb/s\n* 512Kb/s-2Mb/s\n* 2Mb/s-6Mb/s\n* 6Mb/s-10Mb/s\n* \u003e10Mb/s\n\nLatency:\n\n* \u003c50ms\n* 50-100ms\n* 100-200ms\n* 200-400ms\n* 400-1000ms\n* \u003e1000ms\n\n\nUsage\n-----------\n\n1. Install to Magento by copying to directory structure\n2. Enable GoogleAnalytics in Magento: System-\u003eCongirugration-\u003eGoogle API-\u003eGoogle Analytics-\u003e\n2. You can specify site domain in System-\u003eConfiguration-\u003eWeb-\u003eCookie domain \nBoomerang.js will save calculated bandwidth/latency for a user in cookie, using this cookie domain.\nThis option is needed if you plan to use module when you have multiple sub-domains\n3. By default bandwidth and latency is captured for 3% of users. You can change this number now in code of boomerang.phtml\n\n4. Finally you can go to Google Analytics and find:\n\n* User timings for each page type\n* Events (basically clicks) for each page type\n* Events flow\n* Custom variables 1 and 2, which hold bandwidth and latency respectively. You can the build advanced segments arond\n\nTODO\n-----------\n\n1. Specify %% of users to measure bandwidth \u0026 latency via Magento backoffice\n2. Make getPageType() extensible through extending the class\n3. Specify CustomVar keys (hardcoded to 4 and 5) through Admin\n4. Specify page load noise treshold (set to 60s) through Admin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Fmagento-mod-rum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopsway%2Fmagento-mod-rum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopsway%2Fmagento-mod-rum/lists"}