Le Matin – Actualités suisses et romandes
Table of Contents
This document contains configuration data for the Le Matin website (lematin.ch). It details various API endpoints used for different functionalities, SEO data, user profile access, and script loading. The data is structured in JSON format and provides a comprehensive overview of the website’s backend integrations.
Key API Endpoints
- Comments: Endpoints for managing comments,including validation,reactions,user reactions,and escalation.
- Analytics: API for retrieving most consumed content.
- content Rating: APIs for accessing content ratings (versions 1 and 2).
- Popularity: API for retrieving popular content.
- User Profile: APIs for accessing user profiles, activity statistics, history, avatars, and custom avatar uploads.
- SEO: APIs for robots.txt and redirects.
- Editor: API for accessing editor information, specifically people.
SEO Information
The SEO section defines the website’s URL (https://www.lematin.ch) and name (lematin.ch).It also provides access to robots.txt and redirect information via APIs.
User Profile Access
The user section provides access to user profiles through APIs, allowing retrieval of information such as activity statistics, content history, comment history, and avatar details. Tenant ID 4 is consistently used in these API calls.
Script Loading
The document specifies a list of scripts to be loaded, including:
- Google Tag Manager (GTM): loaded after interactive, with the ID ‘GTM-PKTSKJX’.
- Facebook SDK: Loaded lazily on load.
- Google reCAPTCHA: Loaded lazily on load.
- Twitter Widgets: Loaded asynchronously.
- Instagram Embed: Loaded asynchronously.
Information regarding unavailable videos is provided, specifying category IDs (32, 81, 980) and a date range (January 1, 2022 – September 30, 2022).
Front Page Information
The front page path is defined as https://www.lematin.ch/, with the front category set to “home” and the ad context to “prime”.
General Website Configuration
- isFallback: false
- isExperimentalCompile: false
- gssp: true
- locale: fr
- locales: [“fr”]
- defaultLocale: fr
This configuration data is crucial for the proper functioning and maintenance of the lematin.ch website, enabling various features and integrations.