Search by

reactll / connect

yergunes

Reactll Connect for Laravel: visits, clicks, form leads and site health for your Reactll dashboard.

v1.1.1 2026-10-09 21:58 UTC

This package is auto-updated.

Last update: 2026-10-09 21:59:53 UTC


README

Connects a Laravel site to its Reactll dashboard: visits, calls, WhatsApp and directions clicks, form leads and site health. Built and maintained by Reactor Technology.

Install

composer require reactll/connect
REACTLL_CONNECT_TOKEN=rcc_…   # Reactll → Sites → the site → Install
php artisan reactll:heartbeat   # checks the connection

That's it: the script is added to every HTML page of the web group (not to your admin paths, not for signed-in users). Reactll asks the app for its health every hour (GET /api/reactll/health, signed — nothing else gets an answer), so no scheduler is needed; if one runs, reactll:heartbeat also reports hourly.

Form leads

After your form is validated and saved:

use Reactll\Connect\Facades\Connect;

Connect::submission('Contact', $request->only('name', 'email', 'phone', 'message'));

The script stamps every form with the page view id (_rc_pv), so Reactll ties the lead to the visit it came from. It never throws; it returns false if Reactll could not be reached. To send it after the visitor already has their response (recommended), use Connect::submitAfterResponse(...) with the same arguments.

Options

php artisan vendor:publish --tag=reactll-connect — paths to skip, counting signed-in users, turning the automatic script off (then put @reactllConnect in your layout's <head>).

Content-Security-Policy

If the site sends a CSP header, allow Reactll Connect in it, or the browser blocks the script and its beacons:

script-src  … https://connect.reactll.com
connect-src … https://connect.reactll.com

License

MIT © Reactor Technology