Comments (7)
I've added this commit to my fork.
from angular-google-tag-manager.
Hi @pm20390,
Thanks for the fix on the import. The time that the modification is pushed, I made the modification on my side but it seems to have another error?
Error: export 'GoogleTagManagerConfiguration' (imported as 'GoogleTagManagerConfiguration') was not found in 'angular-google-tag-manager' (possibl e exports: GoogleTagManagerModule, GoogleTagManagerService)
public-api.ts
export * from './lib/angular-google-tag-manager.service'; export * from './lib/angular-google-tag-manager.module'; export * from './lib/google-tag-manager-config'; export * from './lib/angular-google-tag-manager-config.service';
Best regard
from angular-google-tag-manager.
I will double check later but that should be resolved by the last line in your public-api. I am using this currently without issue.
Are you sure you’ve imported GoogleTagManagerConfiguration correctly where you need to use it?
Best
from angular-google-tag-manager.
Thank you for your reply.
Logically it should work.
I show you
from angular-google-tag-manager.
If you need this change now, I would use my fork “ng-google-tag-manager” (available via npm) and then just switch back when it gets merged. Editing the .d.ts files for the built output won’t work.
from angular-google-tag-manager.
Ok thanks, I will do that :)
from angular-google-tag-manager.
Great thanks for the helping hand. It works damn ;)
from angular-google-tag-manager.
Related Issues (20)
- Null-Like GTM-ID should not throw an error HOT 3
- document is not defined on SSR
- Weird appendage
- Angular 15 support HOT 1
- The library does not add GTM script to the DOM HOT 3
- Push values into the data layer HOT 1
- Unable to resolve dependency tree - v1.6.1 tries to check v1.7.0 HOT 1
- Clear the dataLayer HOT 1
- gtm_resource_path appends to url
- Add tag at the beginning of dataLayer
- Console exception when loading GTM using the library HOT 1
- Angular 16 support HOT 7
- Youtube video keep emitting gtm.video after navigating away HOT 3
- Unable to resolve dependency tree. v1.7.0 tries to check v1.8.0
- Angular 17 Support HOT 11
- Feature request: Add removeGtmFromDom function to GoogleTagManagerService
- getDataLayer won't work because it expects a type `arguments` not `array`
- Support for @angular/common@"^17...
- Is an angular 18 version on the way ? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-google-tag-manager.