User Stats: Displaying Profile Statistics in Emails Using Variables

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000105792

How To Get This Add-On
  1. Websites with the VIP Add-Ons Club automatically have this add-on available:
    Join The VIP Add-Ons Club
  2. Purchase Individually: Member Profile Analytics Add-On


The Member Profile Analytics add-on tracks how visitors (non-logged-in) interact with member profiles — views, website clicks, social link visits, post views, and more — by day, month, and year. With email variables, you can show these numbers inside your emails. This article explains the format, shows the default variables in the editor toolbar, lists all supported date options, and teaches you how to build your own custom variables.



Note: If a member has no data for a variable, the email variable will display a value of 0.
This ensures your emails always show a number instead of leaving the field blank.

Variable Format

Use this structure when inserting a stat into an email:

%stat_Stat_Type_Name__date%

  • Two underscores are required between the stat type name and the date: __
  • Stat type names are not case sensitive (Profile, profile, PROFILE all work).
  • Stat type names can include spaces or underscores (Facebook Click or Facebook_Click).
  • If you do not include a date, the stat shows the all-time total. Example: %stat_profile%

Default Variables in the Email Editor Toolbar

These are ready to insert from the toolbar. Click to add them, or copy/paste the variable exactly as shown.

Label in ToolbarVariable to InsertWhat it shows
Profile Views Current Month%stat_profile__current_month%Profile views in the current calendar month
Profile Views Last Month%stat_profile__last_month%Profile views in the previous calendar month
Phone Number Current Month%stat_phone_number__current_month%Clicks on the phone number this month
Phone Number Last Month%stat_phone_number__last_month%Clicks on the phone number last month
Post Views Current Month%stat_view_post__current_month%Views of the member’s posts this month
Post Views Last Month%stat_view_post__last_month%Views of the member’s posts last month
Contact Form Last Month%stat_contact_form__last_month%Contact form submissions last month
Facebook Click Last Month%stat_facebook_click__last_month%Visits to the Facebook profile last month
X Click Last Month%stat_x_click__last_month%Visits to the X (Twitter) profile last month
Tiktok Click Last Month%stat_tiktok_click__last_month%Visits to the TikTok profile last month
Whatsapp Click Last Month%stat_whatsapp_click__last_month%Clicks to WhatsApp last month
Blog Click Last Month%stat_blog_click__last_month%Clicks to the member’s blog last month
Linkedin Click Last Month%stat_linkedin_click__last_month%Visits to the LinkedIn profile last month
Youtube Click Last Month%stat_youtube_click__last_month%Visits to the YouTube channel last month
Pinterest Click Last Month%stat_pinterest_click__last_month%Visits to the Pinterest profile last month
Snapchat Click Last Month%stat_snapchat_click__last_month%Visits to the Snapchat profile last month
Website Last Month%stat_website__last_month%Clicks to the member’s website last month

Supported Date Options

Add one of these after the two underscores to set the time period. If omitted, the stat is all time.

Date optionMeaningExample
current_monthCurrent calendar month%stat_profile__current_month%
last_monthPrevious calendar month%stat_profile__last_month%
current_yearCurrent calendar year%stat_profile__current_year%
last_yearPrevious calendar year%stat_profile__last_year%
2023Specific year%stat_profile__2023%
december_2024Month name + year%stat_profile__december_2024%
02_2025Numeric month + year (MM_YYYY)%stat_profile__02_2025%
todayToday’s date%stat_profile__today%
yesterdayYesterday’s date%stat_profile__yesterday%
(no date)All time%stat_profile%
YYYYMMDDSpecific date%stat_profile__20250115%
YYYYMMDD_YYYYMMDDDate range (start to end)%stat_profile__20250101_20250131%

How to Build a Custom Variable

  1. Decide which stat you want to show (for example: Profile, Website, Facebook Click, Instagram Click, View Post, Phone Number).
  2. Start with %stat_ and then type the stat name. You can use spaces or underscores. Examples:
    • %stat_Facebook Click%
    • %stat_Facebook_Click%
  3. Optionally add a date by typing two underscores and a supported date option:
    • %stat_Facebook_Click__current_month%
    • %stat_view_post__2024%
    • %stat_profile__20240601_20240630%
  4. Close with a percent sign at the end of the variable.

Copy-and-paste examples

  • %stat_profile% — profile views (all time)
  • %stat_profile__current_month% — profile views this month
  • %stat_website__last_month% — website clicks last month
  • %stat_Facebook Click__current_year% — Facebook visits this year (with a space)
  • %stat_Facebook_Click__current_year% — Facebook visits this year (with an underscore)
  • %stat_view_post__2023% — post views in 2023
  • %stat_profile__20240615% — profile views on 2024-06-15
  • %stat_profile__20240601_20240630% — profile views from 2024-06-01 to 2024-06-30

Tips and Troubleshooting

  • Always include exactly two underscores before the date section.
  • Stat names are flexible: spaces or underscores both work; capitalization does not matter.
  • No date shows the all-time total.
  • If you see a blank or zero:
    • Confirm the stat type exists on your site and has data.
    • Check that the date format matches one of the supported options above.
    • Only non-logged-in visitor activity is tracked by the add-on.

About the Member Profile Analytics Add-On

The Member Profile Analytics add-on is a click-tracking tool for profiles and member content. It provides day, month, and year breakdowns of views and clicks. Use these email variables to show members how your website is delivering measurable results. Only non-logged-in visitor activity is counted.