Keap
Also available forActiveCampaign

[memb_user_counter]

Summary
This shortcode includes a counter of how many times a user has viewed a specific page or post.

Description

This shortcode includes a counter of how many times a user has viewed a specific page or post.

Shortcode Examples

[memb_user_counter name="test counter" op="incr"]

Example Usage for logged in member:

You have viewed this page [memb_user_counter name="test counter" op="show"] times.

Shortcode Parameters

nameThe name of the counter, can include spaces.
setSets the counter to the value define in “val”.
show or getDisplays the counter (Default).
incrIncrease the counter by val (defaults val to 1 if not set).
decrDecrease the counter by val (defaults val to 1 if not set).

Additional Information

PHP Function:

[$membershipsystem->getUserCounter( $counter_name )
[$membershipsystem->setUserCounter( $counter_name, $new_value )

Shortcode Attributes

ConditionalNo
NestableNo
Accepts formattingNo
CapturableNo