# Pull post views

**URL:** <https://community.hubspot.com/t/pull-post-views/24626>\
**Category:** CMS Development\
**Tags:** content\
**Created:** [August 26, 2020, 1:35am UTC](https://community.hubspot.com/t/pull-post-views/24626 "2020-08-26T01:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnsardanas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/johnsardanas/32/33127_2.png) [@johnsardanas](https://community.hubspot.com/u/johnsardanas)\
**Post date:** [August 26, 2020, 1:35am UTC](https://community.hubspot.com/t/pull-post-views/24626/1 "2020-08-26T01:35:13Z")

</div>

I’m trying to pull all the views from a post, to do that I tried using {{ content.views }} as per Developer Info but it doesn’t return anything.  
Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![stefen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stefen/32/29274_2.png) [@stefen](https://community.hubspot.com/u/stefen)\
**Post date:** [August 26, 2020, 5:58pm UTC](https://community.hubspot.com/t/pull-post-views/24626/2 "2020-08-26T17:58:51Z")

</div>

@johnsardanas if the HubL {{ content.views }} doesn’t work, you could always pull from the analytics API directly, which wouldn’t be too hard if you have access to an Enterprise account for the serverless functions: [Accounts Dashboard | HubSpot](https://legacydocs.hubspot.com/docs/methods/analytics/get-data-for-hubspot-content)
