Available Variables#

The following methods are available to call in your Twig templates:

craft.assetCount.getCount(assetId)#

Returns the view count for the provided assetId.

craft.assetCount.increment(assetId)#

Increments the view count for the provided assetId.

Previous ← Usage