-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstall.json
147 lines (143 loc) · 4.01 KB
/
install.json
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
139
140
141
142
143
144
145
146
147
{
"resources": {
"head": [
{
"type": "script",
"src": "./source/app.js"
}
]
},
"hooks": [
{
"endpoint": "https://google-analytics-oauth.appstore.cfdata.org",
"events": ["oauth-login", "account-logout"],
"block": true,
"authenticate": ["account"]
},
{
"endpoint":
"https://google-analytics-oauth.appstore.cfdata.org/provision",
"events": ["item-add"],
"block": true,
"authenticate": ["account"]
},
{
"endpoint":
"https://google-analytics-oauth.appstore.cfdata.org/post-install",
"events": ["before-new-install", "before-update-install"],
"block": true,
"authenticate": ["account"]
}
],
"preview": {
"hide": true
},
"options": {
"properties": {
"noAccountHelp": {
"showIf": {
"account": {
"op": "==",
"value": null
}
},
"order": 0,
"type": "hidden",
"helpvalue":
"<div class=\"message info\"><p>It looks like this is your first time using Google Analytics. Welcome to the party! Push the button below to create an account.</p><p>Once you’re finished, log in again and your sites will automagically appear in the app installer.</p><a href=\"https://analytics.google.com\" class=\"button primary more\" target=\"_blank\">Setup account</a></div>"
},
"account": {
"title": "Google Analytics Account",
"type": "object",
"format": "account",
"services": ["googleanalytics"],
"order": 1
},
"id": {
"showIf": {
"account": {
"op": "==",
"value": ""
}
},
"title": "Universal analytics ID",
"placeholder": "UA-12345678-1",
"type": "string",
"order": 1
},
"organization": {
"showIf": {
"account": {
"op": "!=",
"value": ""
}
},
"order": 3,
"type": "string",
"title": "Organizations",
"enum": [],
"add_disabled": {
"buttonLabel": "Add organization",
"description":
"Add a new analytics organization to your Google Account",
"properties": {
"name": {
"order": 0,
"title": "Organization Name",
"description":
"This name will appear in your Google Analytics dashboard.",
"required": true,
"type": "string"
}
}
}
},
"webPropertyTemplate": {
"order": 4,
"type": "hidden",
"title": "$ORGANIZATION Websites",
"enum": [],
"add": {
"buttonLabel": "Add website",
"description": "Add a website to your Google Analytics organization",
"properties": {
"name": {
"order": 0,
"title": "Website Name",
"placeholder": "Acme Inc.",
"description":
"This name will appear in your Google Analytics dashboard.",
"required": true,
"type": "string"
},
"url": {
"order": 1,
"title": "Domain Name",
"description":
"e.g. <strong>https://example.com</strong> or <strong>https://www.example.com</strong>",
"required": true,
"type": "string",
"format": "url"
}
}
}
},
"anonymizeIp": {
"title": "Anonymize IP addresses",
"description":
"Anonymize IP addresses in tracking data (required for GDPR compliance)",
"type": "boolean",
"default": false,
"order": 1000
},
"social": {
"title": "Track social",
"description":
"Send events when users use any Facebook or Twitter widgets on your site",
"type": "boolean",
"default": false,
"order": 1000
}
}
}
}