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

GH-2189: Learn More link takes you to Ghostery Image url instead of site #625

Merged
merged 14 commits into from Oct 28, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Update link in Subscribe.jsx to use the GHOSTERY_BASE_URL and add bac…

…k utm params
  • Loading branch information
benstrumeyer committed Oct 28, 2020
commit 7a8e4492c6639797a00ca5682689ea549bb9eee2
@@ -14,6 +14,9 @@ import React from 'react';
import { NavLink } from 'react-router-dom';
import PanelToTabLink from './BuildingBlocks/PanelToTabLink';
import { sendMessage, openCheckoutPage } from '../utils/msg';
import globals from '../../../src/classes/Globals';

const { GHOSTERY_BASE_URL } = globals;

/**
* Helper function to handle clicking on the Become a Subscriber button
@@ -38,7 +41,7 @@ const Subscribe = ({ match }) => {
<div className="pitch-container">
<span className="pitch-text" dangerouslySetInnerHTML={{ __html: t('subscribe_pitch') }} />
</div>
<PanelToTabLink href="https://www.ghostery.com/pricing/">
<PanelToTabLink href={`${GHOSTERY_BASE_URL}/pricing/?utm_source=gbe&utm_campaign=in_app_plus_lm`}>
<span className="pitch-learn-more">{t('subscribe_pitch_learn_more')}</span>
</PanelToTabLink>
<div>
ProTip! Use n and p to navigate between commits in a pull request.