Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEARCH] collecte des expressions de recherche utililsées #674

Open
vincentporte opened this issue Jun 12, 2024 · 0 comments · May be fixed by #685
Open

[SEARCH] collecte des expressions de recherche utililsées #674

vincentporte opened this issue Jun 12, 2024 · 0 comments · May be fixed by #685
Assignees
Labels
python Pull requests that update Python code

Comments

@vincentporte
Copy link
Contributor

vincentporte commented Jun 12, 2024

collecter

get_matomo_data('month',datetime(2024,5,1),"Actions.getSiteSearchKeywords")

{'label': 'critère eligibilité', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8re+eligibilit%C3%A9'}

Collecter :

  • label
  • date / period
  • nb_visits
[{'label': '4 PILIERS DE L APPRENTISSAGE', 'nb_visits': 2, 'nb_hits': 4, 'sum_time_spent': 1, 'exit_nb_visits': '2', 'nb_pages_per_search': 2, 'avg_time_on_page': 0, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==4+PILIERS+DE+L+APPRENTISSAGE'}, {'label': 'Data', 'nb_visits': 2, 'nb_hits': 4, 'sum_time_spent': 3, 'exit_nb_visits': '1', 'goals': {'idgoal=4': {'revenue_entry': 0, 'nb_conversions_entry_rate': 1, 'revenue_per_entry': 0, 'nb_conversions_entry': 1}, 'idgoal=6': {'revenue_entry': 0, 'nb_conversions_entry_rate': 5, 'revenue_per_entry': 0, 'nb_conversions_entry': 5}, 'idgoal=7': {'revenue_entry': 0, 'nb_conversions_entry_rate': 4, 'revenue_per_entry': 0, 'nb_conversions_entry': 4}}, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '50\xa0%', 'segment': 'siteSearchKeyword==Data'}, {'label': 'dora', 'nb_visits': 2, 'nb_hits': 4, 'sum_time_spent': 3, 'exit_nb_visits': '1', 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '50\xa0%', 'segment': 'siteSearchKeyword==dora'}, {'label': 'emploi', 'nb_visits': 2, 'nb_hits': 4, 'sum_time_spent': 9, 'exit_nb_visits': '1', 'nb_pages_per_search': 2, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '50\xa0%', 'segment': 'siteSearchKeyword==emploi'}, {'label': 'mon recap', 'nb_visits': 2, 'nb_hits': 4, 'sum_time_spent': 11, 'nb_pages_per_search': 2, 'avg_time_on_page': 3, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==mon+recap'}, {'label': 'Aeeh', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Aeeh'}, {'label': 'annuler suspension pass', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==annuler+suspension+pass'}, {'label': 'bar metz', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 6, 'nb_pages_per_search': 4, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==bar+metz'}, {'label': 'bilan de pmsmp', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 4, 'nb_pages_per_search': 2, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==bilan+de+pmsmp'}, {'label': 'CANDIDATER', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 11, 'nb_pages_per_search': 2, 'avg_time_on_page': 6, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==CANDIDATER'}, {'label': 'Cariste', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 3, 'nb_pages_per_search': 4, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Cariste'}, {'label': 'cartographie', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 1, 'nb_pages_per_search': 4, 'avg_time_on_page': 0, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==cartographie'}, {'label': 'community manage', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 843, 'nb_pages_per_search': 2, 'avg_time_on_page': 422, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==community+manage'}, {'label': 'cours de français', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 0, 'exit_nb_visits': '1', 'nb_pages_per_search': 2, 'avg_time_on_page': 0, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==cours+de+fran%C3%A7ais'}, {'label': 'critère eligibilité', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8re+eligibilit%C3%A9'}, {'label': 'critère eligibilité iae', 'nb_visits': 1, 'nb_hits': 6, 'sum_time_spent': 5, 'nb_pages_per_search': 6, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8re+eligibilit%C3%A9+iae'}, {'label': 'critère elligibilité iae', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8re+elligibilit%C3%A9+iae'}, {'label': "critères d'eligibilité", 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8res+d%26%23039%3Beligibilit%C3%A9'}, {'label': "critères d'éligibilité", 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==crit%C3%A8res+d%26%23039%3B%C3%A9ligibilit%C3%A9'}, {'label': 'défis emploi', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==d%C3%A9fis+emploi'}, {'label': 'Délice oi', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'exit_nb_visits': '1', 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==D%C3%A9lice+oi'}, {'label': 'emplooi', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==emplooi'}, {'label': "Entretien d'embauche", 'nb_visits': 1, 'nb_hits': 14, 'sum_time_spent': 260, 'nb_pages_per_search': 14, 'avg_time_on_page': 19, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Entretien+d%26%23039%3Bembauche'}, {'label': 'erreur suspension pass', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==erreur+suspension+pass'}, {'label': 'fiche métier', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'exit_nb_visits': '1', 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==fiche+m%C3%A9tier'}, {'label': 'fiche métier secrétaire', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 0, 'nb_pages_per_search': 2, 'avg_time_on_page': 0, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==fiche+m%C3%A9tier+secr%C3%A9taire'}, {'label': 'FORUM', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 9, 'nb_pages_per_search': 2, 'avg_time_on_page': 5, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==FORUM'}, {'label': 'Freneuse', 'nb_visits': 1, 'nb_hits': 8, 'sum_time_spent': 6, 'nb_pages_per_search': 8, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Freneuse'}, {'label': 'IMMERSION FACILITEE', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 157, 'nb_pages_per_search': 2, 'avg_time_on_page': 79, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==IMMERSION+FACILITEE'}, {'label': 'INSERMODE', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 3, 'nb_pages_per_search': 2, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==INSERMODE'}, {'label': 'la boutique des baudus', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==la+boutique+des+baudus'}, {'label': 'la pagaille', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 12, 'nb_pages_per_search': 2, 'avg_time_on_page': 6, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==la+pagaille'}, {'label': 'les Serres des près', 'nb_visits': 1, 'nb_hits': 6, 'sum_time_spent': 3, 'nb_pages_per_search': 6, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==les+Serres+des+pr%C3%A8s'}, {'label': 'lever les freins', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==lever+les+freins'}, {'label': 'Mantes-la-jolie', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 2, 'nb_pages_per_search': 4, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Mantes-la-jolie'}, {'label': 'mantes la jolie', 'nb_visits': 1, 'nb_hits': 6, 'sum_time_spent': 4, 'exit_nb_visits': '1', 'nb_pages_per_search': 6, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==mantes+la+jolie'}, {'label': 'Mâcon', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 2, 'exit_nb_visits': '1', 'nb_pages_per_search': 4, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '100\xa0%', 'segment': 'siteSearchKeyword==M%C3%A2con'}, {'label': 'PLIE', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 18, 'nb_pages_per_search': 2, 'avg_time_on_page': 9, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==PLIE'}, {'label': 'Préparateur de commandes', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 14, 'nb_pages_per_search': 2, 'avg_time_on_page': 7, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Pr%C3%A9parateur+de+commandes'}, {'label': 'Recap', 'nb_visits': 1, 'nb_hits': 6, 'sum_time_spent': 10, 'nb_pages_per_search': 6, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==Recap'}, {'label': 'stage le chesnay', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 6, 'nb_pages_per_search': 4, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==stage+le+chesnay'}, {'label': 'SUGGESTION', 'nb_visits': 1, 'nb_hits': 4, 'sum_time_spent': 18, 'nb_pages_per_search': 4, 'avg_time_on_page': 5, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==SUGGESTION'}, {'label': 'suggestion', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 49, 'nb_pages_per_search': 2, 'avg_time_on_page': 25, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==suggestion'}, {'label': 'SUSPENSION CDDI', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==SUSPENSION+CDDI'}, {'label': 'suspension CDDI', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 3, 'nb_pages_per_search': 2, 'avg_time_on_page': 2, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==suspension+CDDI'}, {'label': 'suspension contrat', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 2, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==suspension+contrat'}, {'label': 'tableau de bord', 'nb_visits': 1, 'nb_hits': 2, 'sum_time_spent': 1, 'nb_pages_per_search': 2, 'avg_time_on_page': 1, 'bounce_rate': '0\xa0%', 'exit_rate': '0\xa0%', 'segment': 'siteSearchKeyword==tableau+de+bord'}]

interpreter

  • regroupement tous les labels similaires
  • identifier labels relatifs aux autres services
  • identifier groupes de labels "populaires"
@vincentporte vincentporte self-assigned this Jun 12, 2024
@vincentporte vincentporte added the python Pull requests that update Python code label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants