Click to return to the Content     
LATESTTIME Element     LOGIN Element     CDF Reference for Active ...    
Web Workshop  |  Content & Component Delivery

LOG Element


Specifies that the URL of the parent ITEM element should be recorded in a page-hit log file.

Syntax

<LOG
    VALUE="document:view"
/>

Attributes

VALUE
Required. String value specifying the event to be logged. Currently, "document:view" is the only value supported by Microsoft® Internet Explorer.

Element Information

Number of occurrences None or one per parent element
Parent elements ITEM
Child elements None
File formats supported CDF
Requires closing tag No

Remarks

Only ITEMs in the same domain as the CDF file can be logged. This is to prevent providers from tracking the client's use of other provider's sites.

Note that this element is also valid for a CDF file being used as an Active Desktop item (<USAGE VALUE="DesktopComponent"></USAGE>).

Example

Each time the ITEM in the following example is viewed, its URL will be recorded in the page-hit log file.

<ITEM  HREF="http://www.joyware.tld/promo.htm">
    <LOG VALUE="document:view"/>
</ITEM>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.