Back to Integrations
Umbraco Integration
Add Pulse to your Umbraco site via a Razor layout view.
Add the Pulse Script to Your Layout
Edit Views/Shared/_Layout.cshtml and add the Pulse script before the closing </head> tag. Use an environment tag guard to only load in production.
Views/Shared/_Layout.cshtml
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<environment include="Production">
<script
defer
data-domain="your-site.com"
src="https://pulse.ciphera.net/script.js"
></script>
</environment>
<title>@ViewData["Title"]</title>
</head>
<body>
@RenderBody()
</body>
</html>For more details, see the Umbraco templates docs.