Newzmate provides various options for personalization of the audience experience both on the website and via emails. One more option that Newzmate has, in case the publisher wants to render look & feel of the content representation on his side, is client-side content recommendations provided via API.

The outcome: after Newzmate's SDK is loaded on the website we provide a special code snippet that returns a predefined amount of recommendation in the format that was configured with the publisher. Usually, it's a link to the article, link to the image and the title (optionally there could be an endless amount of additional paraments, e.g. price, category, author, date, etc.).

Note! Before you follow all the steps below, please contact Newzmate support team to implement custom adjustment that related to this option. 

Workflow:

  1. Register an account in Newzmate
  2. Add a source (-s) of content, usually, RSS feeds (optionally JSON feeds or API integration with publishers CMS) that Newzmate will use to pick up the content for recommendations
  3. Create an on-site content recommendation widget to specify content source, number of stories and content age (how old could be the recommended story)
  4. Create an integration snippet and add it on the website.

Additionally (except JS tag to load SDK for behavioral and semantic analysis) you'd need to add the following code that will return actual recommendations:

$(window).on('traqli-recommendations-data-ready-<widgetid>', function (e, recommendations) { 
// your code here
// variable "recommendations" format:
// [
// {
// "title": "Article 1 Title",
// "tags": [
// "Tag A",
// "Tag B",
// "Tag C"
// ],
// "image": "//placehold.it/350x150?text=Article+1+Image",
// "link": "//go.publisher-news.com/AVePIh0oM2kiCaIbEblZ"
// },
// {
// "title": "Article 2 Title",
// "tags": [
// "Tag B",
// "Tag C",
// "Tag D"
// ],
// "image": "//placehold.it/350x150?text=Article+2+Image",
// "link": "//go.publisher-news.com/AVhTaHNk66HmQtDllD64"
// },
// ...
// ]
});

For the proper integration, we recommend getting in touch with your customer success manager.

Did this answer your question?