Back to Integrations

Angular Integration

Add the script to your src/index.html — the single entry point for all Angular applications.


Add the Pulse script to index.html

Place the Pulse script inside the <head> tag of your Angular app's src/index.html.

src/index.html
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

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

  <title>My Angular App</title>
  <base href="/">
</head>
<body>
  <app-root></app-root>
</body>
</html>

For more details, see the Angular docs.

Related Integrations: React, Vue.js