What's inside this article:
- About Trends widgets
- Start editing a widget
- Add the widget content
- Configure the widget settings
- Display the widget in the mobile app
- Set the status and save the widget
- Further recommendations
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:
- You Might Also Like 2.0
A Trends widget can also be embedded on external sites and content pages. For 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 Videos).
- 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.
A Trends widget does not display the number of views by default. Enable this option in the Content section of the widget settings.
Start editing a widget
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:
Add the widget content
In the Content section, you need to 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 match 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 displayed on the widget.
For example, if you enable Limit content by Publication date when last 24 hours is selected under Time period, the widget only displays items published in the last 24 hours.
Under Content type, optionally select one or more content types. The widget will only list the selected content types. If you don't select a content type, the widget might list any content types.
Under Categories, optionally select one or more Categories. The widget will only list an item that comes from one of the selected Categories. If you don't select a Category, the widget might list items from any Category.
If you enable Primary category only, the widget will only list an item that uses one of the selected Categories as its Primary category.
For example, if Primary category only is enabled when the Category Blogs is selected, only items that use Blogs as the Primary category will be listed on the widget. The widget will not list items that use Blogs as a Secondary category.
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:
If you are creating a new widget, hit Next to proceed to the next stage of setup.
Configure the widget settings
In the Settings section, you can adjust the following settings:
- Add a Header that is displayed above the widget.
- Adjust the default Widget name that is used to identify the widget in Pangea CMS.
- Add a Footer link that is displayed below the widget.
For detailed information about the widget settings, see the following article:
Display the widget in the mobile app
In the Settings section, tick Send Trends data to mobile app to display the Trends widget on the homepage of the mobile app. This option can be enabled for one Trends widget at a time. When you enable this option for a new widget, it is automatically disabled for the previous widget.
For information about managing the content in Pangea mobile apps, see the following article:
Set the status and save the widget
Before saving the widget, choose your preferred option in the Status drop-down menu:
- Enabled: The widget is visible on the public website when it is used on a website item with the Public status.
- Disabled: The widget is not visible on the public website but is available for editing in Pangea CMS.
Hit Save or Save & close to confirm and apply your preferences.
The following articles might be helpful: