All Collections
Advanced options
Touchpoint variables
Variables based on page view count
Variables based on page view count

This article explains how to use our variables which have page views as an output.

Christiaan Proper avatar
Written by Christiaan Proper
Updated over a week ago

Page view count of today

{{page_view_count}}
Displays the page views of today for the page this variable is being shown on.

{{page_view_count_min5}}
Displays the page views of today, only shows when there are 5 or more page views today. You can change the minimum amount (5) to your own liking.

{{page_view_count_page=}}
Displays the page views of today for the page(s) after the equals character (=). It is based on URL and uses the operator “contains”. So you can count the page views of a really specific page “/categories/nike/blue-shoe-with-red-stripes.html” or you can count all page views for multiple pages “/categories/nike/”. It only shows with 5 or more page views.

Example: {{page_view_count_page=/categories/nike/}}

{{page_view_count_field=}}
Displays the page views of today for the product page(s) where a field equals a value you enter. It also uses the operator “contains”. It only shows with 5 or more page views.

Example: {{page_view_count_field=brand=apple}}

Current page viewers

{{page_view_count_current}}
Displays the current page viewers for the page this variable is being shown on.

{{page_view_count_current_min5}}
Displays the current page viewers, only shows when there are 5 or more current viewers. You can change the minimum amount (5) to your own liking.

{{page_view_count_current_page=}}
Displays the current page viewers for the page(s) after the equals character (=). It is based on URL and uses the operator “contains”. So you can count the current page views of a really specific page “/categories/nike/blue-shoe-with-red-stripes.html” or you can count all page viewers for multiple pages “/categories/nike/”. It only shows with 5 or more current page viewers.

Example: {{page_view_count_current_page=/categories/nike/}}

{{page_view_count_current_field=}}
Displays the current page viewer for the product page(s) where a field equals a value you enter. It also uses the operator “contains”. It only shows with 5 or more current page viewers.

Example: {{page_view_count_current_field=brand=apple}}

Page view count of last week

{{page_view_count_lastweek}}
Displays the page views of last week for the page this variable is being shown on.

{{page_view_count_lastweek_min5}}
Displays the page views of last week, only shows when there are 5 or more page views this week. You can change the minimum amount (5) to your own liking.

{{page_view_count_lastweek_page=}}
Displays the page views of last week for the page(s) after the equals character (=). It is based on URL and uses the operator “contains”. So you can count the page views of a really specific page “/categories/nike/blue-shoe-with-red-stripes.html” or you can count all page views for multiple pages “/categories/nike/”. It only shows with 5 or more page views in the last week.

Example: {{page_view_count_lastweek_page=/categories/nike/}}

{{page_view_count_lastweek_field=}}
Displays the page views of last week for the product page(s) where a field equals a value you enter. It also uses the operator “contains”. It only shows with 5 or more page views in the last week.

Example: {{page_view_count_lastweek_field=brand=apple}}
Did this answer your question?