diff options
author | Donald Cook <dcook@gitlab.com> | 2019-07-16 12:44:15 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-07-16 12:44:15 +0000 |
commit | f219b744336364ff316cbddb1b097539ebec27bc (patch) | |
tree | 57cda10f961ce919e5b0304ae5740811ad105969 /doc | |
parent | d9b9aace9f08e361a6921b0b6061655340b0b550 (diff) | |
download | gitlab-ce-f219b744336364ff316cbddb1b097539ebec27bc.tar.gz |
CE backport: Removed non-decimal event values
Snowplow only accepts decimals for value
This MR removes sending of value implicitly with the value attribute
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/fe_guide/event_tracking.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/fe_guide/event_tracking.md b/doc/development/fe_guide/event_tracking.md index 6ab3fa4acf3..716f6ad7f92 100644 --- a/doc/development/fe_guide/event_tracking.md +++ b/doc/development/fe_guide/event_tracking.md @@ -47,7 +47,7 @@ There's a more convenient solution to this problem. When working with HAML templ Below is an example of `data-track-*` attributes assigned to a button in HAML: ```ruby -%button.btn{ data: { track_label: "create_from_template", track_property: "template_preview", track_event: "click_button", track_value: "my-template" } } +%button.btn{ data: { track_label: "template_preview", track_property: "my-template", track_event: "click_button", track_value: "" } } ``` By calling `bindTrackableContainer('.my-container')`, click handlers get bound to all elements located in `.my-container` provided that they have the necessary `data-track-*` attributes assigned to them. |