⚡ Technical Documentation v1.0

Installation Guide

Installing Signals — Human Analytics Toolkit

Signals is designed to be simple to deploy, lightweight to run, and safe by default.

Unlike traditional analytics tools that require complex dashboards, cloud accounts, or invasive scripts, Signals is a self-hosted toolkit that runs entirely within your website's environment.

This guide explains how to install Signals on:

  • Standard PHP websites.
  • Subdomains.
  • VPS or shared hosting.
  • Concrete CMS (Concrete5).

No framework knowledge is required.

System Requirements

Before installing Signals, ensure your environment meets the following requirements:

☑️

Minimum Requirements

  • PHP 7.4 or higher.
  • Web server (Apache, Nginx, or OpenLiteSpeed).
  • Ability to upload files via FTP or SSH.
  • Write access to a storage directory.
⚡

Recommended

  • PHP 8.0+.
  • HTTPS enabled.
  • Server-side logging permissions.
Signals does not require:
  • Composer.
  • Node.js.
  • MySQL (optional).
  • External services.

Installation Methods Overview

You can install Signals in three common ways:

  1. Subdomain Installation (Recommended)

    Best for security and performance isolation.

  2. Root Directory Installation

    Quick setup for single-site deployments.

  3. CMS Integration (Concrete CMS)

    Seamless integration with existing CMS.

Folder Structure Overview

After extraction, the Signals directory structure looks like this:

human-analytics/
  ├── config/
  ├── core/
  ├── public/
  ├── admin/
  ├── includes/
  ├── storage/
  ├── docs/
  ├── sql/
  └── README.md
Security Note: Only the public/ directory is intended to be web-accessible.

Step-by-Step: Subdomain Installation (Recommended)

This method provides the best security isolation and is recommended for production environments.

Step 1: Create a Subdomain

Example:

signals.example.com

Point the document root to:

/home/username/signals.example.com/

Step 2: Upload Files

Upload all Signals files into the document root.

Example:

/home/username/signals.example.com/human-analytics/

Step 3: Set Permissions

Ensure the storage directory is writable:

storage/
└── logs/

Set permissions:

chmod 755 storage
chmod 755 storage/logs

Configuration

Basic Configuration

Open:

config/config.php

Set:

  • Site name
  • Environment (production / staging)
  • Logging preferences

Example:

define('SIGNALS_ENV', 'production');
define('SIGNALS_LOG_HUMANS_ONLY', true);
No personal data configuration is required.

Adding Signals to Your Website

Step 1: Include the JavaScript

Add the following before </body> on your site:

<script src="https://signals.example.com/human-analytics/public/assets/js/human-signal.js" defer></script>

This script:

  • Runs locally.
  • Sends non-identifying signals.
  • Executes only when JavaScript is available.

Step 2: Server-Side Collection

Signals includes a collection endpoint:

public/collect.php

This endpoint receives interaction signals and evaluates confidence scores.

No additional setup is required.

Verifying Installation

To verify that Signals is working:

  1. Visit your website normally.
  2. Open the Live Demo page.
  3. Check the admin dashboard.
  4. Confirm that human visits are logged.
  5. Confirm that bot visits are filtered.
If nothing appears immediately, wait a few minutes and refresh.

Admin Dashboard Access

The admin dashboard is available at:

/admin/

First Login

  • Create an admin user manually (if applicable)
  • Protect the admin directory using:
    • .htaccess
    • HTTP Authentication
    • IP Restriction
Signals does not auto-expose admin credentials.

Installing on Concrete CMS

Signals works well with Concrete CMS.

Step 1: Upload Signals

Place Signals outside the CMS core:

/packages/
or
/tools/

Step 2: Include Script

Add the JS include in:

  • Header Extra Content
  • Footer Template
  • Theme Footer
Concrete CMS does not interfere with Signals' operation.

Optional Database Setup

Signals can operate without a database.

However, if you want structured reporting:

Import:

sql/schema.sql

Configure database connection in:

config/database.php
Database usage is optional.

Security Considerations

Signals follows secure defaults, but you should:

Restrict access to:

  • /config/
  • /core/
  • /includes/
  • /storage/

Allow public access only to:

  • /public/
  • /demo/
  • /human-signal.php

Use .htaccess or server rules to enforce this.

Privacy & Compliance

Signals avoids personal data entirely.

This simplifies:

  • GDPR compliance.
  • Consent banners.
  • Privacy policy updates.
However, always:
  • Mention Signals in your privacy policy.
  • Link to the Human & Machine Notice.

Transparency matters.

Troubleshooting

Common Issues

  • No data appearing — Check file permissions.
  • JS not loading — Confirm correct script URL.
  • Admin page inaccessible — Check server restrictions.

Debug Mode

Enable debug mode temporarily in config.php for troubleshooting.

Updating Signals

To update Signals:

  1. Backup your configuration.
  2. Replace core files.
  3. Preserve:
    • config/
    • storage/
  4. Review changelog

Signals follows semantic versioning.

Final Notes

Signals is intentionally simple.

If installation feels complex:

  • Something is likely misconfigured
  • Or permissions are incorrect

Signals does not require accounts, API keys, or external services.

You are now ready to use Signals.

By installing it, you:

Improve analytics accuracy.
Respect user privacy.
Prepare your site for the AI era.
Choose transparency over surveillance.

Signals doesn't watch people.
It watches patterns — and stops there.