My Oracle Support Banner

Page Tag Leads to Duplicate Occurrences on a Page (Doc ID 2834823.1)

Last updated on FEBRUARY 10, 2022

Applies to:

Oracle Commerce Cloud Service - Version 21.4.8 and later
Information in this document applies to any platform.

Symptoms

If you want to run some custom script on each page, you can add Page Tag and put the script under the page tag. For instance, you can add a page tag under header section, the script will appear under page header. The problem is the same content will appear at the bottom of the body section as well. In other word, there are two occurrences of the same script. 

Reproducible steps

1. Go to Admin Console / Settings / Page Tags

2. Under <head> section add a new tag with name MyTag and a script

3. Publish the change

4. Go to storefront and view page source. MyTag with the script appears under <head> and also at the bottom of the body. 

 

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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.