Blocks

Blocks »Repeat Visitor Block

The Repeat Visitor block enables the author to control the visibility of its nested block(s) depending on how many times a visitor has previously visited the page.

Table of Contents

Adding the Repeat Visitor Block
Adding Content to a Repeat Visitor Block
Block Settings
Advanced


Adding the Repeat Visitor Block

  1. In the Blocks Editor for a page or post, click Add Block.
  2. Search for “visitor” or navigate to the Jetpack category.
  3. You can also type /repeatin a new block to insert a Repeat Visitor Block.
Repeat Visitor - Shortcut
Repeat Visitor - Find Block

Detailed instructions on adding blocks can be found here.

After adding the block, you can configure the Visit Count Threshold and Visibility settings, to specify the criteria for displaying the block’s contents.

Repeat Visitor - Example

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.

Repeat Visitor - Threshold
In this example: the content included in the Repeat Visitor block will only show after a visitor has been to this page more than 5 times.

If you set the Visit Count Threshold to 3, and Visibility to Show before 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.

Repeat Visitor - Before Threshold
In this example: the content included in the Repeat Visitor block will only show the first three times a visitor comes to this page.

↑ Table of Contents ↑

Adding Content to a Repeat Visitor Block

The text in the blue block below the settings gives a handy description of the settings you’ve chosen. 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.

Repeat Visitor - Add Block
Add content within the Repeat Visitor Block

↑ Table of Contents ↑

Block Settings

Every block has specific options in the editor sidebar in addition to the options found in the block toolbar. If you do not see the sidebar, click the ‘cog’ icon next to the Publish button.

The block settings can be found in the sidebar.
The block settings can be found in the sidebar.

↑ Table of Contents ↑

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.

Button - Additional CSS Class

Not quite what you're looking for?

Get Help