Back to Integrations

Kirby Integration

Add Pulse to your Kirby site via a PHP snippet.


Add the Pulse Script to Your Header Snippet

Edit site/snippets/header.php or site/templates/default.php and add the Pulse script before the closing </head> tag.

site/snippets/header.php
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script
      defer
      data-domain="your-site.com"
      src="https://pulse.ciphera.net/script.js"
    ></script>

    <title><?= $page->title() ?></title>
</head>

For more details, see the Kirby snippets docs.