Hello,
I can't get this lib to work really good. I'm using react helmet by the way.
Only thing that I can do is generating a random string for dataLayerName and it'll create another dataLayer, which is not what I want. I want the current dataLayer to be updated with new pages inside, like the result you get from window.dataLayer.push.
I'm not sure what I'm doing wrong, here is my code :
App.js
Hello, I can't get this lib to work really good. I'm using react helmet by the way. Only thing that I can do is generating a random string for dataLayerName and it'll create another dataLayer, which is not what I want. I want the current dataLayer to be updated with new pages inside, like the result you get from window.dataLayer.push.
I'm not sure what I'm doing wrong, here is my code : App.js
Metatags.js
Data layer is changed if I navigate through but not through Anyone stumbled upon this ?