Enables scripted content fragments to use Content Views

Methods

IncrementViewCount

Create a record of a piece of content being viewed

Usage

$core_v2_contentViews.IncrementViewCount($contentId, $contentTypeId, $viewTypeId)

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidID of the content being viewedRequired
contentTypeIdGuidContent Type ID of the content being viewedRequired
viewTypeIdGuidID representing type of viewRequired