What's inside this article:
- About Trends widgets
- Open the edit screen
- Set the widget content
- Configure the widget settings
- Send the widget to the mobile app
- Preview the widget
- Set the status and save the 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).
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:
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.
The items listed on a Trends widget are updated automatically every 30 minutes.
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.
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.
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:
In the Content section, define the settings that control which items will be listed on the widget.
The following options are available:
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.
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.
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.
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.
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:
After setting the widget content, hit Next to 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.
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.
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.
When you are satisfied, 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.