Commit 90c060bd authored by Tan Le's avatar Tan Le

Correct tracking snippets on HAML

parent 21343680
...@@ -17,7 +17,7 @@ When working within HAML (or Vue templates) we can add `data-track-*` attributes ...@@ -17,7 +17,7 @@ When working within HAML (or Vue templates) we can add `data-track-*` attributes
Below is an example of `data-track-*` attributes assigned to a button: Below is an example of `data-track-*` attributes assigned to a button:
```haml ```haml
%button.btn{ data: { track: { event: "click_button", label: "template_preview", property: "my-template" } } } %button.btn{ data: { track_event: "click_button", track_label: "template_preview", track_property: "my-template" } }
``` ```
```html ```html
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment