Skip to content
代码片段 群组 项目
提交 297ab597 编辑于 作者: Anwar Sadath's avatar Anwar Sadath 提交者: Anna Vovchenko
浏览文件

Add metrics to GCP banner

Changelog: changed
上级 81f86be3
No related branches found
No related tags found
无相关合并请求
......@@ -2,9 +2,10 @@
= render Pajamas::AlertComponent.new(title: s_('ClusterIntegration|Did you know?'),
alert_options: { class: 'gcp-signup-offer',
data: { feature_id: Users::CalloutsHelper::GCP_SIGNUP_OFFER, dismiss_endpoint: callouts_path }}) do |c|
data: { feature_id: Users::CalloutsHelper::GCP_SIGNUP_OFFER, dismiss_endpoint: callouts_path }},
close_button_options: { data: { track_action: 'click_dismiss', track_label: 'gcp_signup_offer_banner' }}) do |c|
= c.body do
= s_('ClusterIntegration|Every new Google Cloud Platform (GCP) account receives $300 in credit upon %{sign_up_link}. In partnership with Google, GitLab is able to offer an additional $200 for both new and existing GCP accounts to get started with GitLab\'s Google Kubernetes Engine Integration.').html_safe % { sign_up_link: link }
= c.actions do
= render Pajamas::ButtonComponent.new(variant: :confirm, href: 'https://cloud.google.com/partners/partnercredit/?pcn_code=0014M00001h35gDQAQ#contact-form', target: '_blank', button_options: { rel: 'noopener noreferrer' }) do
= render Pajamas::ButtonComponent.new(variant: :confirm, href: 'https://cloud.google.com/partners/partnercredit/?pcn_code=0014M00001h35gDQAQ#contact-form', target: '_blank', button_options: { rel: 'noopener noreferrer', data: { track_action: 'click_button', track_label: 'gcp_signup_offer_banner' } }) do
= s_("ClusterIntegration|Apply for credit")
---
description: GCP offer banner Apply for credit is clicked
category: gcp_signup_offer_click
action: click
label_description: 'gcp_signup_offer_banner'
property_description:
value_description:
extra_properties:
identifiers:
product_section: ops
product_stage: deploy
product_group: group::environments
milestone: '16.0'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119940
distributions:
- ce
- ee
tiers:
- free
- premium
- ultimate
---
description: GCP offer banner is dismissed
category: gcp_signup_offer_dismiss
action: dismiss
label_description: 'gcp_signup_offer_banner'
property_description:
value_description:
extra_properties:
identifiers:
product_section: ops
product_stage: deploy
product_group: group::environments
milestone: '16.0'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119940
distributions:
- ce
- ee
tiers:
- free
- premium
- ultimate
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册