globaldothealth / list

Repository for Global.health: a data science initiative to enable rapid sharing of trusted and open public health data to advance the response to infectious diseases.
MIT License
39 stars 7 forks source link

Change Data page title #2052

Closed jim-sheldon closed 2 years ago

jim-sheldon commented 3 years ago

Google Analytics shows page views by page title (in Engagement -> Pages and Screens). The title of the Data page is currently "Global.health | a Data Science Initiative". It should include the word "Data" to distinguish it from the home page (and possibly other pages).

sergioloporto commented 3 years ago

@joe-brilliant I can help with this one. Now all pages and sub-pages have the same meta data.

For example: Homepage: https://data.covid-19.global.health/ Cases page: https://data.covid-19.global.health/cases Profile page: https://data.covid-19.global.health/profile

all have the same title:

<title>Global.health | a Data Science Initiative</title>
<meta property="og:url" content="https://data.covid-19.global.health/" />
<meta property="og:title" content="Global.health | a Data Science Initiative" />
<meta name="description" content="Epidemiology data ingestion and curation" />

We better give a "dynamic" title to each page, so that each page will have a different title and description. If you provide at least the titles (more important than descriptions) for the above mentioned pages of the data site, I can develop the logic.

This won't be so important for SEO, because google sees only the homepage (google does not scrape the data, because it doesn't login to the site), however it can be useful for Analytics, and it can give a better user experience, because the title of the page also appears in the browser tab. If a person has few tabs open, they all now have the same title:

image

joe-brilliant commented 3 years ago

@maciekz1996 @sergioloporto @jim-sheldon @rkassa how do these sound for descriptions / titles? Will we be able to see search / filter / sort results in GA?

https://data.covid-19.global.health/ > "Global.health | Data" https://data.covid-19.global.health/cases > "Global.health | Cases" https://data.covid-19.global.health/profile > "Global.health | Profile"

sergioloporto commented 3 years ago

@joe-brilliant they sound good. From my experience with GA, these titles will allow us to filter. I will start working on that. @jim-sheldon please also double check and confirm. After the logic will be developed, a title change will be a quick move.