Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0ad40d4a
Commit
0ad40d4a
authored
Apr 13, 2022
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Three CTA tracking bug
parent
e5ec3f26
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
ee/app/assets/javascripts/hand_raise_leads/hand_raise_lead/components/hand_raise_lead_button.vue
...ads/hand_raise_lead/components/hand_raise_lead_button.vue
+14
-1
ee/app/assets/javascripts/vue_shared/discover/card_security_discover_bundle.js
...ipts/vue_shared/discover/card_security_discover_bundle.js
+6
-0
ee/spec/frontend/vue_shared/discover/card_security_discover_app_spec.js
...nd/vue_shared/discover/card_security_discover_app_spec.js
+0
-1
No files found.
ee/app/assets/javascripts/hand_raise_leads/hand_raise_lead/components/hand_raise_lead_button.vue
View file @
0ad40d4a
...
...
@@ -56,7 +56,20 @@ export default {
GlModal
:
GlModalDirective
,
},
mixins
:
[
Tracking
.
mixin
()],
inject
:
[
'
user
'
,
'
small
'
,
'
ctaTracking
'
],
inject
:
{
user
:
{
default
:
{},
},
small
:
{
default
:
false
,
},
ctaTracking
:
{
default
:
{
action
:
'
click_button
'
,
label
:
PQL_BUTTON_TEXT
,
},
},
},
data
()
{
return
{
isLoading
:
false
,
...
...
ee/app/assets/javascripts/vue_shared/discover/card_security_discover_bundle.js
View file @
0ad40d4a
import
Vue
from
'
vue
'
;
import
{
s__
}
from
'
~/locale
'
;
import
SecurityDiscoverApp
from
'
ee/vue_shared/discover/card_security_discover_app.vue
'
;
import
apolloProvider
from
'
ee/subscriptions/buy_addons_shared/graphql
'
;
...
...
@@ -49,6 +50,11 @@ export default () => {
companyName
,
glmContent
,
},
ctaTracking
:
{
action
:
'
click_button
'
,
label
:
s__
(
'
PQL|Contact sales
'
),
experiment
:
'
pql_three_cta_test
'
,
},
},
render
(
createElement
)
{
return
createElement
(
'
security-discover-app
'
,
{
...
...
ee/spec/frontend/vue_shared/discover/card_security_discover_app_spec.js
View file @
0ad40d4a
...
...
@@ -35,7 +35,6 @@ describe('Card security discover app', () => {
lastName
:
'
Doe
'
,
companyName
:
'
ACME
'
,
},
ctaTracking
:
{},
},
});
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment