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
4e7b04b9
Commit
4e7b04b9
authored
Mar 31, 2022
by
Hinam Mehra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add experiment context to click_video_link action in video experiment
parent
fe8946ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab_section_link.vue
...cts/learn_gitlab/components/learn_gitlab_section_link.vue
+1
-0
spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_link_spec.js
...learn_gitlab/components/learn_gitlab_section_link_spec.js
+7
-0
No files found.
app/assets/javascripts/pages/projects/learn_gitlab/components/learn_gitlab_section_link.vue
View file @
4e7b04b9
...
...
@@ -104,6 +104,7 @@ export default {
data-track-action=
"click_video_link"
:data-track-label=
"linkTitle"
data-track-property=
"Growth::Conversion::Experiment::LearnGitLab"
data-track-experiment=
"video_tutorials_continuous_onboarding"
/>
</
template
>
</gitlab-experiment>
...
...
spec/frontend/pages/projects/learn_gitlab/components/learn_gitlab_section_link_spec.js
View file @
4e7b04b9
...
...
@@ -166,6 +166,13 @@ describe('Learn GitLab Section Link', () => {
expect
(
trackingSpy
).
toHaveBeenCalledWith
(
'
_category_
'
,
'
click_video_link
'
,
{
label
:
'
Add code owners
'
,
property
:
'
Growth::Conversion::Experiment::LearnGitLab
'
,
context
:
{
data
:
{
experiment
:
'
video_tutorials_continuous_onboarding
'
,
variant
:
'
candidate
'
,
},
schema
:
'
iglu:com.gitlab/gitlab_experiment/jsonschema/1-0-0
'
,
},
});
unmockTracking
();
...
...
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