Adding Google Tag Manager Code Snippet to a WebCenter Portal Template Results in Error: <script> tag must not be included in a <form>
(Doc ID 2866845.1)
Last updated on OCTOBER 16, 2023
Applies to:
Oracle WebCenter Portal - Version 12.2.1.2.0 and laterInformation in this document applies to any platform.
Symptoms
Adding Google Tag Manager code snippet to a WebCenter portal template results in the following error when viewing a page using the page template:
ERROR
<script> tag must not be included in a <form>
STEPS
The issue can be reproduced with the following steps:
- Generate tags with Google Tag Manager.
- Add tags to a WebCenter Portal page template.
- Set the page template in a portal.
- Install the "Google Tag Assistant Legacy" extension for Chrome browser.
- View a page in the portal using Chrome browser.
- Enable the Google Tag Assistant Legacy.
Here the error is displayed:
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |