Back to Integrations

Craft CMS Integration

Add Pulse to your Craft CMS site by editing your Twig layout template.


Add the Pulse Script to Your Layout

Edit your main Twig layout template at templates/_layout.twig and add the Pulse script inside the <head> section.

templates/_layout.twig
<!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>{{ siteName }}</title>
</head>
<body>
    {% block content %}{% endblock %}
</body>
</html>

For more details, see the Craft CMS docs.