This feature is only available on V3 platform or later.
This feature highlights stories on your site with active conversations to increase page views and audience engagement.
Use this tool to generate revenue by leveraging the ad position on the product. Contact your client success manager to enable Viafoura ads on this product.
You can connect your own ad server to this product. Follow instructions here to configure your own ads.
Insert the code snippet below where you want the product to appear.
<div class="viafoura"> <vf-content-recirculation title="Trending Articles" limit="5" days-published="7" trend-window="1" sort="comments" vf-container-id="currentPageContainer" /> </div>
The container id of the current page.
It is used to exclude the current page from results.
This is not required if the vf:container_id meta tag has been set on the page.
The value of
The title you want displayed at the top of the plugin.
The maximum number of articles to show.
1 to 100
The number of days since the article was created. This is also referred to as the article age. Use 'all' to specify all articles regardless of age.
1 to 30, all
This determines the size of the trend window in hours. For example, when set to 1, a list is retrieved with the articles that have received the most comments in the past 1 hour.
trend-window must be less than or equal to the days-published or there will be no articles to return.
1 to 48
Used to determine how articles are sorted in the list. Currently this list can only be sorted by comment count, but more options will be made available in the future.
If you are using the ad in the Trending Articles, check this CSS customization.
Updated 3 months ago