Web search engines partly base their rankings of pages on the words that appear in certain HTML tags, particularly <meta>
tags and the <title>
tag. A common SEO technique is to list key search terms in those tags, to raise the ranking of the pages for those terms.
The Oracle ATG Web Commerce platform includes an SEO tag repository for storing the content of these tags. This repository has a single item type, SEOTags
. An SEOTags
item has the following properties, whose values are used to create HTML tags:
title
-- String used to set the body of the<title>
tag; for example:Welcome to example.com, home of bargain clothing and shoes!
This value can be up to 254 characters long. However, Google and MSN will consider only the first 66 characters, while Yahoo! will consider the first 115.
description
-- Used to set thecontent
attribute of a<meta name="description" ...>
tag; for example:example.com offers the finest women's clothing and shoes at low prices.
This value can be up to 254 characters long.
keywords
-- Used to set thecontent
attribute of a<meta name="keywords" ...>
tag; for example:shoes, women's shoes, dresses, skirts, pants, shorts, jackets, accessories
This value can be up to 254 characters long.
The property values shown in these examples would result in the following tags:
<title>Welcome to example.com, home of bargain clothing and shoes!</title> <meta name="description" content="example.com offers the finest women's clothing and shoes at low prices." /> <meta name="keywords" content="shoes, women's shoes, dresses, skirts, pants, shorts, jackets, accessories" />
In addition to title
, description
, and keywords
, SEOTags
items have three other properties:
displayName
-- The display name for the item, used in Oracle ATG Web Commerce Merchandising and the ATG Control Center.key
-- An arbitrary identifier used to look up the item. You typically give eachSEOTags
item a uniquekey
to ensure the correct content is rendered.sites
-- For multisite applications, a comma-separated list of the sites the tag applies to. You can write page code to use this property to determine the tags to display for a given site.