Getting Started

There are two ways to install View Count...

# Install using Composer

Open your terminal and run the following commands:

# Go to the project directory
cd /path/to/project

# Tell Composer to load the plugin
composer require doublesecretagency/craft-viewcount

# Tell Craft to install the plugin
./craft install/plugin view-count

# Install from the Plugin Store

Within your website's Plugin Store, search for View Count.

  1. Login to your website's Control Panel.
  2. Go to the Plugin Store.
  3. Search for View Count.
  4. Click the one that looks like this:
View Count
Count the number of times an element has been viewed.


Then follow the instructions on that page to install the plugin. Scroll down to "Try" or "Add to Cart".

Public Page in the Plugin Store

For reference, check out the equivalent page in the public plugin store.