summaryrefslogtreecommitdiff
path: root/doc/development/event_tracking/frontend.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 09:08:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 09:08:51 +0000
commit38149afcf95e7669a7a99828c579d185b70c04dc (patch)
tree3a90504bd926407c0cc60f44e20dba08217b928b /doc/development/event_tracking/frontend.md
parentbe660fe1d28a65ad61be24c71e66ae90f6488dc4 (diff)
downloadgitlab-ce-38149afcf95e7669a7a99828c579d185b70c04dc.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/event_tracking/frontend.md')
-rw-r--r--doc/development/event_tracking/frontend.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/event_tracking/frontend.md b/doc/development/event_tracking/frontend.md
index c767efc65b2..4139bf2322d 100644
--- a/doc/development/event_tracking/frontend.md
+++ b/doc/development/event_tracking/frontend.md
@@ -104,7 +104,7 @@ And if needed within the template, you can use the `track` method directly as we
Custom event tracking and instrumentation can be added by directly calling the `Tracking.event` static function. The following example demonstrates tracking a click on a button by calling `Tracking.event` manually.
```javascript
-import Tracking from `~/tracking`;
+import Tracking from '~/tracking';
const button = document.getElementById('create_from_template_button');
button.addEventListener('click', () => {