We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

Piano Content category annotation and filtering

Operations / Home Cxense Content (Operations) / Cxense Content (recs) Docs in Progress

The documentation for Cxense Content category annotation is still missing some details on this pages:

Here is a short overview:

Cxense Content category annotation

Your page url:


http://www.yourdomain.no/sport/artikel.aspx?articleid=8916106

To annotate your page for the purpose of Cxense Content filtering, you have to embedded an "cXenseParse:recs:category" annotation into the <head> section of your webpage

(Reference to refinement)

<meta name="cXenseParse:recs:category" content="sports/football/championsleague"/>


The result of the content-processing is visible in sitesearch:

  • http://sitesearch.cxense.com/api/search/<YOUR_SITEID>?p_aq=query(url:"http://www.yourdomain.no/sport/artikel.aspx?articleid=8916106")

Caveat: This sitesearch will return only article pages and not frontpages!

Please avoid to fall into this trap during testing especially with testpages without content, which are classified by Cxense as Fronptages (because of not having content)!


There would be two recs-category-type available for filtering.
The one which was annotated and the other one named taxonomy and category0 comes from your URL path as part of our content processing.

Please recognize that from the URL it is sport and from the annotation it is sports!

"recs-category-type": [
    "recs-category",
    "taxonomy"
],
"category0": "sport",
"recs-category": "sports/football/championsleague",
"recs-category0": [
    "taxonomy|sport",
    "recs-category|sports"
],
"recs-category1": "recs-category|sports|football",
"recs-category2": "recs-category|sports|football|championsleague"

Cxense Content filter on categories

Filter described in  Content settings object
Now you can see use this filter statements:

filter(recs-category0:"taxonomy|sport")

or

filter(recs-category2:"recs-category|sports|football|championsleague")

 

Open Questions

  • Are these recs-categories available for Cxense Analytic /traffic filter statements?

  • How to distinguished this to the use-case of setCustomParameter annotations of an event?

    • From the perspective of Cxense Analytic /traffic of course


Last updated: