The Repeat Visitor block enables the author to control the visibility of its nested block(s) depending on how many times a visitor has visited the page.
Adding the Repeat Visitor Block
You can add the Repeat Visitor block by searching and/or selecting it from the Jetpack section of the block selector:

See Jetpack Blocks for detailed instructions on adding blocks.
After adding the block, you can configure the Visit Count Threshold and Visibility settings to specify the criteria for displaying the block’s contents.
For example, if you set the Visit Count Threshold to 5, and Visibility to Show after threshold, then the block contents will only be displayed to people who have visited the page more than 5 times. On the first 5 visits, the content will not be displayed.

If you set the Visit Count Threshold to 3, and Visibility to Show before the threshold, then the contents will only be displayed to people who have visited the page at most 3 times. From the 4th visit onward, the content will not be displayed.

The text in the blue block below the settings gives a handy description of your chosen settings. This text is for the author only, and won’t be seen by your visitors.
Once you’ve configured the display criteria, you can add the content that will be displayed when those criteria are met. This is done by adding any number of blocks within the Repeat Visitor Block.

Block Toolbar
Click on the block to display the block toolbar. The Repeat Visitor block offers the following options in its toolbar:

As with the image block, the Repeat Visitor block can be set by clicking the wide-width or full-width icons.
Block Settings
Every block has specific options in the editor sidebar and options found in the block toolbar. If you do not see the sidebar, click the ‘settings’ icon next to the Publish button.

Advanced
The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.

Troubleshooting
The visit count doesn’t seem accurate when adding more than one block.
Note that visits are counted per page/post, not per block. This can cause confusion when adding multiple Repeat Visitor blocks on the same page.
For example:
- You add a Repeat Visitor block to a post, set to display after 5 visits.
- Visitor A visits the post, and their visit count is 1.
- You then add another Repeat Visitor block to the same post, set to display on the first visit only.
- Visitor A visits the post again, and their visit count is now set to 2, so they don’t see the new block.
The block is not working at all
The Repeat Visitor block relies on cookies. If a visitor has cookies disabled in their browser, the block will not function correctly.
Still need help?
Please contact support directly. We’re happy to advise.
Privacy Information
This feature is activated by default.
Data Used | |
---|---|
Site Owners / Users
None. |
Site Visitors
The Repeat Visitor block records page views by setting a cookie named |
Activity Tracked | |
Site Owners / Users
None. |
Site Visitors
None. |
Data Synced (Read More) | |
Site Owners / Users
None. |
Site Visitors
None. |