PHPackages                             altis/analytics-demo-tools - 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. altis/analytics-demo-tools

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

altis/analytics-demo-tools
==========================

48.4k↓50.5%[3 issues](https://github.com/humanmade/altis-analytics-demo-tools/issues)1PHP

Since Jul 8Pushed 3mo ago19 watchersCompare

[ Source](https://github.com/humanmade/altis-analytics-demo-tools)[ Packagist](https://packagist.org/packages/altis/analytics-demo-tools)[ RSS](/packages/altis-analytics-demo-tools/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (1)

Accelerate Analytics Demo Tools
===============================

[](#accelerate-analytics-demo-tools)

This plugin provides tools for importing historical demo data and generating realistic demo analytics for Accelerate/Altis Analytics. It is designed for screenshots, demos, and personalization previews.

The plugin should be considered to be in Beta state and is not intended for use in production anywhere.

Installation &amp; Usage
------------------------

[](#installation--usage)

1. Install the plugin to `wp-content/plugins` or wherever your plugin directory is located.
2. Activate the plugin
3. In the admin area under "Tools" go to the "Analytics Demo" page
4. Use either the Historical Import tab or the Traffic Generator tab.

Historical Import
-----------------

[](#historical-import)

The importer can be run multiple times, new session IDs will be created each time and there is a 40% chance of a new endpoint ID being generated. This means when looking for recurring visitors vs new you should see roughly a 60/40 split.

Traffic Generator
-----------------

[](#traffic-generator)

The Traffic Generator creates targeted analytics data for specific blocks and posts/pages with smooth trends and realistic attributes. This is ideal for A/B tests, personalization demos, and polished screenshots.

Features:

- Block selection (A/B test, personalization, broadcast, and standard blocks)
- Post/page selection (generates pageView events for chosen posts and pages)
- Days of data (7–90)
- Traffic volume slider (up to 100k events per content item over 31 days)
- Traffic shape presets (Steady, Growth, Daily-swing, Weekly-swing)
- Realism presets (Balanced, US-heavy, Referral-heavy)
- Variant winner lift (optional, blocks only)
- Preview estimates for events, conversions, and runtime

Generated attributes include:

- country, region, city
- referrer + UTM source/medium/campaign
- device type + browser
- returning vs new visitor flag
- search terms + query strings
- top URLs (home + recent posts/pages)
- broadcast analytics (when broadcast blocks exist)

Autopilot (Demo Templates)
--------------------------

[](#autopilot-demo-templates)

Autopilot keeps demo instances alive by continuously generating sitewide, block, and post/page analytics data. Enable it from Tools → Analytics Demo → Traffic Generator.

Highlights:

- Runs on a schedule (15/30/60 minutes)
- Generates data for selected blocks + posts/pages + sitewide events
- Real-time bursts when analytics screens are open
- Burst caps prevent unnatural spikes
- Maintains a realtime “tail” for 30‑minute charts

Delivery Performance
--------------------

[](#delivery-performance)

Events are sent to the Accelerate log endpoint in batches of up to **10 visitors per HTTP request**. This is the maximum the endpoint accepts — larger payloads are silently dropped.

- Traffic Generator and Autopilot runs complete ~10x faster than versions prior to the batched delivery change.
- No artificial sleep delays between batches — the HTTP round-trip provides natural throttling.
- Historical Import uses a 100ms pause between batches instead of the previous 5-second delay.

Notes
-----

[](#notes)

- Demo data is synthetic and intended for non-production use only.
- Higher volumes and many blocks can take longer to process.
- On remote/cloud sites, events are sent via the Accelerate log endpoint (not direct ClickHouse writes). Credentials are read from the site's `altis_config`option.
- A/B test "Probability to Be Best" is calculated by a separate hourly cron (`altis_post_ab_test_cron`). It may take up to an hour to appear after generating data.
- Requires PHP 8.1+. All timestamp arithmetic uses explicit `(int)` casts to avoid deprecation warnings.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21655?v=4)[Ryan McCue](/maintainers/rmccue)[@rmccue](https://github.com/rmccue)

![](https://www.gravatar.com/avatar/77dbeefb7745010589603f2ffc6ff310d8f700b58e08d52af190744c43342526?d=identicon)[roborourke](/maintainers/roborourke)

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

---

Top Contributors

[![noeltock](https://avatars.githubusercontent.com/u/781166?v=4)](https://github.com/noeltock "noeltock (32 commits)")[![roborourke](https://avatars.githubusercontent.com/u/23417?v=4)](https://github.com/roborourke "roborourke (32 commits)")[![rmccue](https://avatars.githubusercontent.com/u/21655?v=4)](https://github.com/rmccue "rmccue (5 commits)")[![mikelittle](https://avatars.githubusercontent.com/u/358499?v=4)](https://github.com/mikelittle "mikelittle (2 commits)")

### Embed Badge

![Health badge](/badges/altis-analytics-demo-tools/health.svg)

```
[![Health](https://phpackages.com/badges/altis-analytics-demo-tools/health.svg)](https://phpackages.com/packages/altis-analytics-demo-tools)
```

###  Alternatives

[felipebool/crook

Crook is a simple tool to ease your life when dealing with git hooks

5913.9k](/packages/felipebool-crook)[elao/accesseo

Provide accessibility and SEO insights of your page in Symfony profiler

299.2k](/packages/elao-accesseo)

PHPackages © 2026

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