Analytics

This package contains views related to the quality-analysis of the content

App Size View

class integreat_cms.cms.views.analytics.app_size_view.AppSizeView(**kwargs)[source]

Bases: TemplateView

View to calculate the current size of the content, that’s been send via the API.

get_context_data(**kwargs: Any) dict[source]

Extend context by app size

Parameters:

**kwargs (Any) – The supplied keyword arguments

Returns:

The context dictionary

Return type:

dict

template_name = 'analytics/app_size.html'[source]

The template to render (see TemplateResponseMixin)

Translation Coverage View

class integreat_cms.cms.views.analytics.translation_coverage_view.TranslationCoverageView(**kwargs)[source]

Bases: TemplateView

View to calculate and show the translation coverage statistics (up to date translations, missing translation, etc)

get_context_data(**kwargs: Any) dict[str, Any][source]

Extend context by translation coverage data

Parameters:

**kwargs (Any) – The supplied keyword arguments

Returns:

The context dictionary

Return type:

dict[str, Any]

get_hix_context() dict[str, QuerySet | int | float][source]

Extend context by HIX info

Returns:

The HIX context dictionary

Return type:

dict[str, QuerySet | int | float]

template_name = 'analytics/translation_coverage.html'[source]

The template to render (see TemplateResponseMixin)