Skip to content

Commit f2763fd

Browse files
committed
Add analytics
1 parent 41ba4af commit f2763fd

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4+
<!-- Google tag (gtag.js) -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BCTWSF0D7C"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag() {
9+
dataLayer.push(arguments);
10+
}
11+
gtag("js", new Date());
12+
13+
gtag("config", "G-BCTWSF0D7C");
14+
</script>
415
<meta charset="UTF-8" />
516
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
617
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

src/components/ColourPicker/ColorPicker.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const ColorPicker = ({ value, onChange, name, ...fieldContainerProps }: C
3232
<FieldContainer {...fieldContainerProps}>
3333
<Box
3434
component="button"
35+
aria-label={"Open color picker for " + name}
3536
popoverTarget={name}
3637
sx={{
3738
border: 1,

0 commit comments

Comments
 (0)