Accessibility links

Breaking News

Creating a Trends widget

update

What's inside this article:



About Trends widgets

What is a Trends widget?

A Trends widget lists the current 'trending' content items from your site. This means content items that have received a high number of views within a specified time period (based on Adobe Analytics data).

Where can I display a Trends widget?

Trends widgets can be included on any of the following website items:

A Trends widget can also be embedded on external sites and content pages. For detailed information, see the following article:

What customization options are available for Trends widgets?

You can customize the items listed on a Trends widget as follows:

  • Time period: List only items published within a specified time period.
  • Content type: List only specific content types (such as articles).
  • Categories: List only items from a specific Category.

For more information, go to Add the widget content.

How often is a Trends widget updated?

The items listed on a Trends widget are updated automatically every 30 minutes.

Can I stop older content items from appearing on a Trends widget?

Yes. To ensure only recently published items are listed, enable the Limit content by Publication date setting.

For more information, go to Add the widget content.

Why does the number of views for an item sometimes go down?

A Trends widget does not display the total number of views for an item. You see the number of views during the selected Time period. For example, if Time period is set to last 24 hours, the widget displays the number of views in the last 24 hours. For this reason, the number of views for each item might go up and down over time.

NOTE: A Trends widget does not display the number of views by default. Enable this option in the Content section of the widget settings.



Open the edit screen

This article assumes that the edit screen for the Trends widget (shown below) is already open. For basic information about creating a new widget, see the following article:




Set the widget content

In the Content section, define the settings that control which items will be listed on the widget.

The following options are available:



Number of items

Under Max items, enter the maximum number of items that will be listed on the widget. The highest number you can enter is 10.

For example, if you enter 5, the widget will list 5 items (provided 5 items are available that meet your defined criteria). If 5 valid items are not available, the widget will list fewer items.



Time period

Under Time period, set the time period that the widget data is taken from. For example, if you select last 24 hours, only page views from the last 24 hours are counted. All page views within the specified time period are counted by default. This means an older item might still be listed on the widget if it receives enough views.

If you do not want the widget to display older items, tick the box next to Limit content by Publication date. When you enable this option, only items published during the selected Time period are listed on the widget.

For example, if you enable Limit content by Publication date when last 24 hours is selected under Time period, only items published in the last 24 hours are listed on the widget.



Content type

Under Content type, optionally select one or more content types. The widget will only list the content types you select. If you don't select any content types, the widget can list all content types.



Categories

Under Categories, optionally select one or more Categories. The widget will only list items from the selected Categories. If you don't select any Categories, the widget can list content from all Categories.

If you enable Primary category only, the widget will only list items that use one of the selected Categories as the Primary Category.


NOTE: For information about Primary and Secondary Categories, see the following article:


Number of views

If you tick Display number of views, the widget displays the number of views for each listed item.

For more information about how the number of views for each item is generated, go to the following section:


NOTE: You can localize the text for 'views' using the Responsive.Label.Views configuration key. For detailed information about using the Site Localization tool in Pangea CMS, see the following article:

After setting the widget content, hit Next to configure the widget settings.




Configure the widget settings

In the Settings section, the following options are available:

  • Add a Header that is displayed above the widget.
  • Adjust the default Widget name that is used to identify the widget in Pangea CMS (not visible on the public site).
  • Add a Footer link that is displayed below the widget.

For detailed information about the widget settings, see the following article:

In the Settings section for a Trends widget, you can also choose to send the widget to the mobile app.




Send the widget to the mobile app

We have introduced a new method for configuring the mobile app homepage. For detailed information about the new solution, see the following article:

The Send Trends data to mobile app setting does not send the Trends widget to the new version of the mobile app homepage. However, this setting still works and remains available in Pangea CMS for mobile app users who have not yet updated to the latest app version.

After configuring the widget settings, hit Next to preview the widget.




Preview the widget

In the Preview section, check how the widget will look when it is published on the site. Select Desktop, Tablet, or Mobile to preview the page on different devices.


IMPORTANT: Please be aware that for a Trends widget, the preview might take several seconds to load. This is because the data needs to be transferred from Adobe Analytics.

When you are satisfied, set the status and save the widget.




Set the status and save the widget

Before saving the widget, choose your preferred option in the Status drop-down menu:

  • Enabled: The widget will be visible on the public site after you save it (provided it is included on a website item with the Public status).
  • Disabled: The widget will not be visible on the public site after you save it.

Hit Save or Save & close to save the widget.



Pangea CMS Guide

Need help?

XS
SM
MD
LG