122
Views
5
Comments
Solved
Google Tag Manager Reactive $ is not defined
Question

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

Tagmanager.PNG
2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

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

UserImage.jpg
Samuel Gustin

Rui Barradas wrote:

Hello Samuel,

You just need to add that reference 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

 

 Thank you, now it works fine.

2021-03-18 21-03-15
Benjith Sam
 
MVP

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

UserImage.jpg
Samuel Gustin

Benjith Sam wrote:

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

 Thats great thank you. Under scripts I only have OutsystemsUI. How do I get the jQuery script?

 

2020-05-07 18-53-00
Rui Barradas
 
MVP
Solution

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

UserImage.jpg
Samuel Gustin

Rui Barradas wrote:

Hello Samuel,

You just need to add that reference 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

 

 Thank you, now it works fine.

2020-05-07 18-53-00
Rui Barradas
 
MVP

You're most welcome Samuel.

Glad that you managed to make it work.


Kind regards,

Rui Barradas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.