#5523·ngx-admin

AnalyticsService check that ga function exists

Author: hope4555Created Oct 2, 2019Updated Jun 9, 2026
Labelsbughelp wantedP4: nice to haveneeds triage

Issue type

I'm submitting a ... (check one with "x")

  • [ X] bug report
  • feature request
  • question about the decisions made in the repository

Issue description

Current behavior:

error in console while ad-blocker is active

Expected behavior:

No error (or maybe a log that tells that GA is not available Steps to reproduce:

  1. Enable analytics
  2. Run when ad-blocker is on

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->