* @param {string} eventType * @param {!JsonObject=} opt_vars A map of vars and their values.
(eventType, opt_vars)
| 95 | * @param {!JsonObject=} opt_vars A map of vars and their values. |
| 96 | */ |
| 97 | trigger(eventType, opt_vars) { |
| 98 | devAssert( |
| 99 | this.config_['triggers'][eventType], |
| 100 | 'Cannot trigger non initiated eventType' |
| 101 | ); |
| 102 | triggerAnalyticsEvent( |
| 103 | this.parent_, |
| 104 | this.getEventTypeInSandbox_(eventType), |
| 105 | opt_vars, |
| 106 | /** enableDataVars */ false |
| 107 | ); |
| 108 | } |
| 109 | /** |
| 110 | * @param {string} eventType |
| 111 | * @return {string} |
nothing calls this directly
no test coverage detected