Ruby on Rails
StandardBackend Frameworks · Script tag
Add Pulse analytics to your Rails app via ERB layouts.
The universal tag works via a standard head snippet.
Add to your site’s <head>
<script defer data-domain="example.com" src="https://js.ciphera.net/script.js"></script>
Set data-domain to the domain you registered in Pulse. Configure feature toggles, SRI, and storage from the install panel in your dashboard.
01 · Ruby on Rails + Pulse
Why cookieless analytics fits Rails
Rails renders from application.html.erb, and that layout is the natural home for the Pulse tag — add it once and every page inherits it. The script is a couple of kilobytes loaded async, and it registers pageviews across Turbo and Hotwire navigations, so a Turbo-driven app is measured correctly without extra Stimulus controllers.
Cookieless keeps things idiomatic. You are not reaching for cookies in a controller, adding a consent concern, or rendering a banner partial in the layout. Pulse sets no cookies and collects no personal data, so the whole consent surface — and the compliance work behind it — never has to exist in your Rails app.