Hello,
I am trying to implement Google Tag Manager Reactive from the forge in a reactive web. After I have inserted the two blocks and publish I get a message saying "$ is not defined". The tag manager itself seems to work as it should since you can fire tags as you can see on the picture.
Does anyone know why I get this message and how I can fix it?
Kind regards
Samuel
Hello Samuel,
You just need to add the reference for jQuery script from the OutSystemsUI module.
Then, you just need to add it to your module / screen / block:
Hope that this helps you.
Feel free to ask anything else.
Kind regards,
Rui Barradas
Rui Barradas wrote:
You just need to add that reference from the OutSystemsUI module.
Thank you, now it works fine.
Hi Samuel,
The mentioned error occurred because you missed adding the jQuery script file in the application module/Screen as mentioned below.
Hope this helps you!
Regards,
Benjith Sam
Benjith Sam wrote:
Thats great thank you. Under scripts I only have OutsystemsUI. How do I get the jQuery script?
You're most welcome Samuel.
Glad that you managed to make it work.