Configuring member activity tracking

Activity of portal members is automatically tracked. CMS users can view the member activity log if the portal admin configured the corresponding page.

The member activity log can show such information as when a member signed in, and which pages the member visited and when.

  Note

Admins can also use profiling to collect detailed technical information about the current session of both members and users on the portal. 

To create a page for member activity tracking

  1. In CMS, go to Content > Xpand Portal.
  2. Select the  icon next to the localization root node, under which the member activity page will be available, and then select  Grid page.

      Note

    You can create this page as a child page to any page within the localization node if necessary.


  3. On the header, enter the page name that will be used to identify it in CMS. For example, Member Activity Log.
  4. On the General tab, you specify the page title, which will be displayed on the page, menu item title, and configure other optional settings if necessary. See the Creating a grid page topic for information on how to configure settings on this tab.

      Tip

    Information about member activity is not intended for members, not related to the portal administration, therefore we recommend you hide the page menu item for certain member roles, not related to portal administration. Under Menu settings, next to Hide menu item, select the roles, for which the page menu item will not be available.

  5. On the Data source tab, in the Entity field, select MemberActivityTracking as the source entity.
  6. On the Grid tab, under Fields, configure which fields will be displayed in the log. See the Creating a grid page topic for information on how to configure field settings.
  7. On the Permissions tab, under Member group permissions, configure permission set(s) for various combinations of member groups where you can specify which fields will be displayed, define grid page settings, and add toolbar commands.
  8. Select Save and publish in the bottom-right corner to save the created page.

Now members that belong to the roles, for which the created page is allowed, can view member activity from the front end.

  Note

Tracking starts as soon as the member activity log page is published.

Additional member tracking settings

You can also enable tracking in specific portal places where it is available:

  • You can enable tracking on header and footer links by turning on the Enable Activity Tracking switch in the settings of a header or footer link, which are configured in the site localization settings. If enabled, when a portal members follows this link, this activity will be shown in the member activity log with the link click action type.
  • You can enable tracking on banner links by turning on the Enable Activity Tracking switch in the settings of a company banner. When a member follows such a banner link (by selecting a button with the link in the bannter layout block of the dashboard), this activity will be shown in the member activity log with the link click action type.
  • You can add the attribute data-activity="link click" to any HTML link, such as the button that downloads files or navigate-to links. For example, to HTML links that you specify in the Data Format String setting of a field on a grid. When a member follows such a link (by clicking or tapping the field value), this activity will be shown in the member activity log with the link click action type.