-
Notifications
You must be signed in to change notification settings - Fork 611
Expand file tree
/
Copy pathlinks.ts
More file actions
138 lines (134 loc) · 2.99 KB
/
links.ts
File metadata and controls
138 lines (134 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
import { GAVersion } from "../../constants"
interface Heading {
type: "heading"
text: string
versions: GAVersion[]
}
interface LinkT {
type: "link"
versions: GAVersion[]
text: string
href: string
}
export type LinkData = LinkT | Heading
// TODO - Add an enum for the slugs so they aren't magic strings.
export const linkData: LinkData[] = [
{
text: "Demos & Tools",
type: "heading",
versions: [GAVersion.GoogleAnalytics4, GAVersion.UniversalAnalytics],
},
{
text: "Account Explorer",
href: "/account-explorer/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Campaign URL Builder",
href: "/campaign-url-builder/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Campaign URL Builder",
href: "/ga4/campaign-url-builder/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Dimensions & Metrics Explorer",
href: "/dimensions-metrics-explorer/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Enhanced Ecommerce",
href: "/enhanced-ecommerce/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Hit Builder",
href: "/hit-builder/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Event Builder",
href: "/ga4/event-builder/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Dimensions & Metrics Explorer",
href: "/ga4/dimensions-metrics-explorer/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Query Explorer",
href: "/ga4/query-explorer/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Enhanced Ecommerce",
href: "/ga4/enhanced-ecommerce/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Query Explorer",
href: "/query-explorer/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Request Composer",
href: "/request-composer/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Spreadsheet Add-on",
href: "/ga4/spreadsheet-add-on/",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Tag Assistant",
href: "/tag-assistant/",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Resources",
type: "heading",
versions: [GAVersion.UniversalAnalytics, GAVersion.GoogleAnalytics4],
},
{
text: "About this Site",
href: "/#about",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "Help & feedback",
href: "/#help",
type: "link",
versions: [GAVersion.UniversalAnalytics],
},
{
text: "About this Site",
href: "/ga4/#about",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
{
text: "Help & feedback",
href: "/ga4/#help",
type: "link",
versions: [GAVersion.GoogleAnalytics4],
},
]