Angular provides several approaches for integrating third-party scripts. Here are the recommended methods for adding Visitors analytics to your Angular application.
Replace YOUR_TOKEN with your project token.
The simplest approach is to add the script tag directly to your src/index.html file.
For more control, you can inject the script programmatically in your app component: