<@td.recordPageview>
The recordPageview tag inserts an invisible HTML
<img> element that
results in a 1x1 pixel, transparent
graphic. The request of this graphic
will cause the
server to record
a pageview of the document described by the tag's
attributes. This
enables
pageviews to be recorded even when the page is served from
a browser cache or
other cache.
If the content whose pageview is
being recorded is subsequently
requested separately, e.g.
a graphic,
IFRAME, or multimedia object, add ?recordPageview=false to
the
viewer URL to avoid
double-counting the view. Added in version 4.2.
This tag contains the following attributes:
-
contextKey
- The context key. Overridden by contextUrl
and/or
contextUrlString and/or the context key specified
in
url/urlString, in
that order.
- Required: false
- Type: String
- Default: none
-
contextUrl
- The ContentLocator of the context from which to load the
data. Used to
configure hyperlinks and image references
in the
resulting content.
- Required: false
- Type: ContentLocator
- Default: none
-
contextUrlString
- The ContentLocator of the context from which to load the
data. Used to
configure hyperlinks and image references
in the
resulting content.
- Required: false
- Type: String
- Default: none
-
itemKey
- The item key. Overridden by url and/or
urlString.
- Required: false
- Type: String
- Default: none
-
projectKey
- The Project key. Overridden by url and/or
urlString.
- Required: false
- Type: String
- Default: none
-
refId
- The reference ID, in cases of a view of content in
the context of another
document, such as a top-level XML document
or DITA map.
- Required: false
- Type: String
- Default: none
-
url
- The ContentLocator object describing the content to
retrieve. Required if searchTerm attribute is not
provided.
- Required: false
- Type: ContentLocator
- Default: none
-
urlString
- The ContentLocator object describing the content to
retrieve. Required if searchTerm attribute is not
provided.
- Required: false
- Type: String
- Default: none