Back to Integrations

Statamic Integration

Statamic is a Laravel-based CMS. Add Pulse to your Antlers or Blade layout.


Add the Pulse Script to Your Layout

Edit your Antlers layout at resources/views/layout.antlers.html and add the Pulse script inside the <head> section.

resources/views/layout.antlers.html
<!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>{{ title }}</title>
</head>
<body>
    {{ template_content }}
</body>
</html>

For more details, see the Statamic views docs.