diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 6447ba6c6..673b8fc22 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1351,6 +1351,9 @@ "hub_home_plus_full_protection": { "message": "You are fully protected!" }, + "hub_upgrade_page_title": { + "message": "Ghostery Hub - Upgrade Plan" + }, "hub_upgrade_your": { "message": "Upgrade your" }, diff --git a/app/hub/Views/UpgradePlanView/UpgradePlanView.jsx b/app/hub/Views/UpgradePlanView/UpgradePlanView.jsx index d3515c418..3a3608965 100644 --- a/app/hub/Views/UpgradePlanView/UpgradePlanView.jsx +++ b/app/hub/Views/UpgradePlanView/UpgradePlanView.jsx @@ -11,7 +11,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0 */ -import React, { useRef, Fragment } from 'react'; +import React, { Fragment, useRef, useEffect } from 'react'; import ClassNames from 'classnames'; import PropTypes from 'prop-types'; import { NavLink } from 'react-router-dom'; @@ -119,6 +119,11 @@ const premiumAlreadyProtectedButton = () => ( * @memberof HubComponents */ const UpgradePlanView = (props) => { + useEffect(() => { + const title = t('hub_upgrade_page_title'); + window.document.title = title; + }, []); + const { protection_level, show_yearly_prices,