|
163 | 163 | <paper-toast id="offlineToast" class="offline-toast" text="You are now offline. Can't make new requests."></paper-toast>
|
164 | 164 | <search-bar id="content-search-bar" on-iron-overlay-opened="textSearchBarOpened"></search-bar>
|
165 | 165 | <template is="dom-if" if="[[telemetry]]" restamp="true">
|
166 |
| - <app-analytics tracking-id="UA-18021184-6" app-name="ARC-electon" app-id="[[appId]]" app-version="[[appVersion]]" disable-tracking="{{analyticsDisabled}}" data-source="electron-app"> |
| 166 | + <app-analytics tracking-id="UA-18021184-6" app-name="ARC-electon" app-id="[[appId]]" app-version="[[appVersion]]" data-source="electron-app"> |
167 | 167 | <template is="dom-repeat" items="[[gaCustomMetrics]]">
|
168 | 168 | <app-analytics-custom type="metric" index="[[item.index]]" value="[[item.value]]"></app-analytics-custom>
|
169 | 169 | </template>
|
170 | 170 | <template is="dom-repeat" items="[[gaCustomDimensions]]">
|
171 | 171 | <app-analytics-custom type="dimension" index="[[item.index]]" value="[[item.value]]"></app-analytics-custom>
|
172 | 172 | </template>
|
173 | 173 | </app-analytics>
|
174 |
| - <app-analytics tracking-id="UA-18021184-14" app-name="ARC" app-id="[[appId]]" app-version="[[appVersion]]" data-source="electron-app" disable-tracking="{{analyticsDisabled}}"> |
| 174 | + <app-analytics tracking-id="UA-18021184-14" app-name="ARC" app-id="[[appId]]" app-version="[[appVersion]]" data-source="electron-app"> |
175 | 175 | <template is="dom-repeat" items="[[gaCustomMetrics]]">
|
176 | 176 | <app-analytics-custom type="metric" index="[[item.index]]" value="[[item.value]]"></app-analytics-custom>
|
177 | 177 | </template>
|
178 | 178 | <template is="dom-repeat" items="[[gaCustomDimensions]]">
|
179 | 179 | <app-analytics-custom type="dimension" index="[[item.index]]" value="[[item.value]]"></app-analytics-custom>
|
180 | 180 | </template>
|
181 | 181 | </app-analytics>
|
182 |
| - <app-analytics tracking-id="UA-71458341-2" app-name="ARC" app-id="[[appId]]" app-version="[[appVersion]]" data-source="electron-app" disable-tracking="{{analyticsDisabled}}"> |
| 182 | + <app-analytics tracking-id="UA-71458341-2" app-name="ARC" app-id="[[appId]]" app-version="[[appVersion]]" data-source="electron-app"> |
183 | 183 | <template is="dom-repeat" items="[[gaCustomMetrics]]">
|
184 | 184 | <app-analytics-custom type="metric" index="[[item.index]]" value="[[item.value]]"></app-analytics-custom>
|
185 | 185 | </template>
|
|
248 | 248 | accessToken: String,
|
249 | 249 | // Latest update event data
|
250 | 250 | updateState: Array,
|
251 |
| - /** |
252 |
| - * Overrides analytics element behavior. |
253 |
| - * This setting is now in main application settings. |
254 |
| - * |
255 |
| - * TODO: Remove state setting from the element. This should be |
256 |
| - * controlled from the outside. |
257 |
| - */ |
258 |
| - analyticsDisabled: { |
259 |
| - type: Boolean, |
260 |
| - value: false |
261 |
| - }, |
262 | 251 | /**
|
263 | 252 | * Sets Google Analytics state. If this is not set or falsy, then Google
|
264 | 253 | * Analytics is diosabled (element is removed from the DOM).
|
|
0 commit comments