Enables scripted content fragments to use Content Views
Methods
IncrementViewCount
Create a record of a piece of content being viewed
Velocity
$core_v2_contentViews.IncrementViewCount($contentId, $contentTypeId, $viewTypeId)
JavaScript
core_v2_contentViews.IncrementViewCount(contentId, contentTypeId, viewTypeId);
Parameters
| Name | Type | Description | Required | Default | Options | 
|---|---|---|---|---|---|
| contentId | Guid | ID of the content being viewed | Required | ||
| contentTypeId | Guid | Content Type ID of the content being viewed | Required | ||
| viewTypeId | Guid | ID representing type of view | Required | 
 
				