* Posts a custom analytics event. * @param {string} eventType * @param {!{[key: string]: string}=} opt_vars
(eventType, opt_vars)
| 347 | * @param {!{[key: string]: string}=} opt_vars |
| 348 | */ |
| 349 | postAnalyticsEvent(eventType, opt_vars) { |
| 350 | this.postToParent_({ |
| 351 | 'event': 'analytics', |
| 352 | 'analytics': { |
| 353 | 'eventType': eventType, |
| 354 | 'vars': opt_vars, |
| 355 | }, |
| 356 | }); |
| 357 | } |
| 358 | |
| 359 | /** |
| 360 | * @param {!JsonObject} data |
nothing calls this directly
no test coverage detected