-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple installations of Google Tag Manager detected #55
Comments
Hi Cristian, the pushOnDataLayer function add a new event on the existing datalayer |
this.gtmService.pushOnDataLayer ? this method does not exist in the service of plugin |
@mzuccaroli In the documentation of the Readme file you have the same example code |
sorry, my bad |
@mzuccaroli It is exactly the same code example that you have in the Readme app.component.ts
pixel.service.ts
|
@mzuccaroli I just tried this code and it doesn't work either: "isLoaded" param is never set true again
|
have you tried to use the gtm service directly in your app.component ? |
@mzuccaroli yes look at my last answer: #55 (comment) the problem will be the lazy load? |
my configuration:
in app.module.ts:
in app.component.ts:
Result:
in html:
my app:
Angular version: 10.2.4
Angular material: 10.2.7
angular-google-tag-manager: 1.3.0
-I have tried as import and as provider
-I tried only with id
I have the same error
The text was updated successfully, but these errors were encountered: