I need to insert this code in all screen before </head> tag.
"<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-xxxxxxxxxxxx"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-xxxxxxxxxxx'); </script>"
This component works well for what you want: https://www.outsystems.com/forge/component-overview/10722/google-tags-manager
It works well. Thank you Paulo Torres
Great :)
I created recently a component with different approach and with action to send events if you need.
https://www.outsystems.com/forge/component-overview/16829/google-tag-manager-gtm
Regards, Paulo Torres