<p>Updated: There is an <a href="https://www.putyourlightson.net/craft-entry-count" rel="nofollow noreferrer">Entry Count</a> plugin that is designed to do exactly this, written by Ben Croker. Thanks Ben!</p>

CC BY-SA 3.0
2015-07-21T16:35:15.547Z
Note that this has been replaced by [Entry Count](https://github.com/putyourlightson/craft-entry-count).
Katrin
CC BY-SA 3.0
2017-05-27T20:19:50.287Z
The Entry Count plugin is available at https://www.putyourlightson.net/craft-entry-count
Ben Croker
CC BY-SA 3.0
2014-10-08T16:56:53.417Z
2017-05-29T18:25:57.790Z
2017-05-29T18:25:57.790Z
Douglas McDonald
<p>The <a href="https://www.putyourlightson.net/craft-entry-count" rel="nofollow noreferrer">Entry Count</a> plugin will do this for you (previously the Counter plugin).</p>

<p>You can loop through the most read articles as follows:</p>

<pre><code>{% set countedEntries = craft.entryCount.entries %}

{% for entry in countedEntries %}
    {% set count = craft.entryCount.count(entry.id) %}
    {{ entry.title }} ({{ count }} views)
{% endfor %}
</code></pre>

CC BY-SA 3.0
2017-05-27T20:19:16.857Z
2017-05-27T20:19:16.857Z
Ben Croker
<p>How can I add a counter or something similar to my entries, so that I could loop through the most read articles?</p>

CC BY-SA 3.0
2014-10-08T16:01:24.367Z
There is a [counter plugin](http://straightupcraft.com/craft-plugins/counter) that is designed to do exactly this, which is currently in private beta written by Ben Croker. Perhaps if you contact the developer, he might let you participate in the beta.
Douglas McDonald
CC BY-SA 3.0
2014-10-08T16:25:37.110Z
@DouglasMcDonald Might want to post that as an actual answer ;)
Brandon Kelly
<entries><entry>
Counter for entries to show most read Articles
# Counter for entries to show most read Articles

(Asked by: username_0 on 2014-10-08)

How can I add a counter or something similar to my entries, so that I could loop through the most read articles?

**Tags:** entries, entry
> **Comments:**
> **username_1**: There is a [counter plugin](http://straightupcraft.com/craft-plugins/counter) that is designed to do exactly this, which is currently in private beta written by Ben Croker. Perhaps if you contact the developer, he might let you participate in the beta.  
> **username_2**: @DouglasMcDonald Might want to post that as an actual answer ;)  

---

## 2 answers

### Answer by username_1 on 2014-10-08. Score: 3 | Accepted answer

Updated: There is an [Entry Count](https://www.putyourlightson.net/craft-entry-count) plugin that is designed to do exactly this, written by Ben Croker. Thanks Ben!

> **Comments:**
> **username_3**: Note that this has been replaced by [Entry Count](https://github.com/putyourlightson/craft-entry-count).  
> **username_4**: The Entry Count plugin is available at https://www.putyourlightson.net/craft-entry-count  

---

### Answer by username_4 on 2017-05-27. Score: 1

The Entry Count plugin will do this for you (previously the Counter plugin).
You can loop through the most read articles as follows:
{% set countedEntries = craft.entryCount.entries %}

{% for entry in countedEntries %}
    {% set count = craft.entryCount.count(entry.id) %}
    {{ entry.title }} ({{ count }} views)
{% endfor %}


---

