Skip to content

AnalyticsService check that ga function exists #5523

Open
@hope4555

Description

@hope4555

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.
-->

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions