Understanding Lytics / Product Documentation / Content Affinity Engine

Advanced Customization

Lytics' Content Affinity Engine can extract topics from multiple sources, and aggregate them into a single topic graph.

Adding New Documents

By default, Lytics observes new URLs in all data streams to identify content with which the user is registering activity. New URLs are enriched as they're observed in incoming data that is, Lytics can crawl a domain, but proactively indexing a domain and looking for new content is not part of the Content Affinity Engine's workflow.

To add new documents to your corpus, you can send new documents to our Content Corpus API. The Corpus API respects three parameters:

  • url: An optional URL for a new document. While most documents are identified with a URL, documents aren't constrained to be web accessible. In the event that you have custom content that is not web accessible, you'll need to supply the content via the text parameter.
  • text: An optional string of content for a document. This is only really necessary in the event that the new document is not web accessible.
  • topics: An optional list of topics relevant to the document. When Lytics tries to enrich the new document, the resulting topics will be appended to this list. In the event that you only want your own custom topics added to a document, you'll need to contact your account representative at [email protected] to remove all external enrichment settings.

Customizing Topics

There are a couple of ways to provide custom topics to the Content Affinity Engine.

First, you can modify the markup of your content to include the custom lytics:topics meta tag.

Second, if you're already providing custom content through the Corpus API, you can include custom topics in your API request.