From 38149afcf95e7669a7a99828c579d185b70c04dc Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 24 Feb 2020 09:08:51 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/development/event_tracking/frontend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/development/event_tracking/frontend.md') 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', () => { -- cgit v1.2.1