Skip to content

Commit 119b747

Browse files
committed
feat: add metrics infrustructure to ui #2185
1 parent d123263 commit 119b747

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"react-router-dom": "^5.3.4",
5454
"react-split": "^2.0.14",
5555
"react-syntax-highlighter": "^15.6.1",
56+
"react-yandex-metrika": "^2.6.0",
5657
"redux": "^5.0.1",
5758
"redux-location-state": "^2.8.2",
5859
"tslib": "^2.8.1",

public/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<html lang="en">
33
<head>
44
<script>
5+
// Stub for `react-yandex-metrika`
6+
window.yandex_metrika_accounts = [];
7+
58
(function () {
69
const savedTheme = localStorage.getItem('theme') || 'light';
710
if (

0 commit comments

Comments
 (0)