The optional Cookie component for provides the value of a browser 'cookie' in the current context. It is meant for technically savvy webmasters that want to manipulate the cookies directly.
A cookie is a persistent value that is maintained by the browser until next time a visitor return to your site. The cookie value is set as the visitor retrieve a page as part of the HTTP header or META tags in the HEAD element of a document. The cookie entity type provide makes it convenient to later use this value.
To assign a value a cookie named for example "user", you can add the following META tag to the HEAD element of an HTML page:
<META HTTP-EQUIV="Set-Cookie" Content="user=Terje;">
Setting a cookie to the value of an entity reference provide a (low-level) way to maintain values between visits:
<META HTTP-EQUIV="Set-Cookie" Content="user=&nickname;;">
The Cookie component provide a new item on the list of entity types of the Entities dialog. To embed the cookie above in a page, create a new cookie entity and type in "user" as the cookie of the entity. This allows you to use the corresponding entity reference where you want to embed the cookie.
Note: The cookie entity do not have a value before at first at the request after a cookie has been set.
Note:The Cookies Entity Type is currently only available for PPC.