Browse Source

website: add utm params for all cloud.hashi links

pull/9677/head
Kyle MacDonald 4 years ago
parent
commit
d9bbf3d922
  1. 3
      website/components/enterprise-comparison/consul/index.jsx
  2. 6
      website/components/subnav/index.jsx
  3. 3
      website/data/alert-banner.js
  4. 6
      website/pages/home/index.jsx

3
website/components/enterprise-comparison/consul/index.jsx

@ -27,7 +27,8 @@ export default function ConsulEnterpriseComparison() {
links: [
{
text: 'View Cloud Features',
url: 'https://cloud.hashicorp.com',
url:
'https://cloud.hashicorp.com/?utm_source=consul_io&utm_content=ent_comparison',
type: 'outbound',
},
{

6
website/components/subnav/index.jsx

@ -18,7 +18,11 @@ export default function ConsulSubnav() {
},
{ text: 'Download', url: '/downloads' },
{ text: 'Try Cloud', url: 'https://cloud.hashicorp.com' },
{
text: 'Try Cloud',
url:
'https://cloud.hashicorp.com/?utm_source=consul_io&utm_content=top_nav',
},
]}
currentPath={router.pathname}
menuItemsAlign="right"

3
website/data/alert-banner.js

@ -3,7 +3,8 @@ export const ALERT_BANNER_ACTIVE = true
// https://github.com/hashicorp/web-components/tree/master/packages/alert-banner
export default {
tag: 'Announcement',
url: 'https://cloud.hashicorp.com',
url:
'https://cloud.hashicorp.com/?utm_source=consul_io&utm_content=alert_banner',
text: 'HashiCorp Consul is now generally available on HCP',
linkText: 'Learn More',
// Set the `expirationDate prop with a datetime string (e.g. `2020-01-31T12:00:00-07:00`)

6
website/pages/home/index.jsx

@ -22,7 +22,8 @@ export default function HomePage() {
},
{
text: 'Try Cloud',
url: 'https://cloud.hashicorp.com/',
url:
'https://cloud.hashicorp.com/?utm_source=consul_io&utm_content=hero',
},
{
text: 'Download CLI',
@ -227,7 +228,8 @@ export default function HomePage() {
links={[
{
text: 'Learn More',
url: 'https://cloud.hashicorp.com/',
url:
'https://cloud.hashicorp.com/?utm_source=consul_io&utm_content=hcp_consul_detail',
},
{
text: 'Looking for Consul Service on Azure?',

Loading…
Cancel
Save