Home » Docs » Average Time To First Comment Cards
Average Time To First Comment Card gives an ability to see how much time passed on average before the first comment was posted for any custom content type that has comments enabled.
Technically, the card calculates the average number of seconds between the publish date of each CPT and its first approved comment date. So, for example, if during the last 7 days you’ve published 14 blog posts, the card does the following:
- checks each of those 14 posts whether they have comments;
- for those that do have at least 1 comment – calculates the number of seconds between dates of post published and comment posted;
- finds an average value among the posts with comment(s).
Then this value is converted to a more human-readable format, as you see on a screenshot: 5m 6d 3h 24min 57s. There are specific rules that are applied to this elapsed time:
- If there are no parts of a specific date period – it’s omitted. So that’s why in the example above there are no “years”. It can easily be
5d 42sif exactly 5 days and 42 seconds elapsed (with no full minutes and hours).
- Weeks are a special date structure – so you can see
5m 2w 3d...if there are more than 14 days elapsed of the month (in this example – 17 days).
- For the sake of clarity, here are all the available abbreviations:
This card does not consider the content type – so it works for posts, pages, and all other CPTs with comments enabled.
The value of this card is affected by the Comments Date filter.