ANS-1393 · OTHER

How to Add Custom HTML to the Head Section of NetSuite Webstore Item Pages

Content in the Meta Tag HTML field on NetSuite item records appears early in the HTML source for webstore pages.

Short answer

To inject custom HTML or scripts into the <head> section of a NetSuite webstore item page, utilize the 'Meta Tag HTML' field directly on the item record. Content placed here will render very early in the HTML source, often before other standard head elements, ensuring high precedence for critical scripts or meta tags.

Scenario

NetSuite webstore administrators or developers may need to add specific scripts, meta tags, or custom HTML directly into the section of individual item pages. The challenge is ensuring this custom content appears as early as possible in the HTML source to guarantee proper functionality or SEO compliance.

Solution

When adding custom content to the section of a NetSuite webstore item page, the 'Meta Tag HTML' field on the item record provides a method to ensure high placement in the HTML source.

  1. Access the relevant item record in NetSuite.

  2. Locate the 'Meta Tag HTML' field.

  3. Enter the desired script or HTML code into this field.Content placed within the 'Meta Tag HTML' field will appear very early in the HTML source for the item's webstore page, often preceding other elements configured for the item. This ensures that the injected code or meta tags are among the first to load.

Expert NetSuite Support

Need help with this NetSuite issue?

Other consulting and configuration support

Talk to a consultant