website: add utm params for all cloud.hashi links

This commit is contained in:
Kyle MacDonald 2021-02-02 09:09:16 -05:00
parent b4c9e50e42
commit 288f8202d2
4 changed files with 13 additions and 5 deletions

View File

@ -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',
},
{

View File

@ -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"

View File

@ -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`)

View File

@ -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?',