You can add any macro using two ways:
Option 1 - Inline editor command
Start typing /recent visitors
inside confluence editor and confirm with Enter
.
Option 2 - Find in menu bar
Click plus sign and start typing Recent Visitors
then confirm with enter or mouse click.