I try to include angularytics to web site that use library Cookie consent.
The issue is when the user doesn't agree analytics cookies, my google analytics script is not loaded. So I've the following error: ReferenceError: _gaq is not defined.
I try to manage angularytics with cookies consent but when the user doesn't agree analytics cookies, the script is not loaded and angular doesn't know the provider.
I try to include angularytics to web site that use library Cookie consent. The issue is when the user doesn't agree analytics cookies, my google analytics script is not loaded. So I've the following error: ReferenceError: _gaq is not defined.
I try to manage angularytics with cookies consent but when the user doesn't agree analytics cookies, the script is not loaded and angular doesn't know the provider.
How can I do to solve this issue.