Skip to content

Commit

Permalink
Merge pull request googlecodelabs#240 from shawnbuso/analytics
Browse files Browse the repository at this point in the history
Fix null reporting.
  • Loading branch information
shawnbuso authored May 8, 2019
2 parents eb4b006 + d022a3e commit c651eae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class CodelabAnalytics extends HTMLElement {
// Always event for trackEvent_ method
'hitType': 'event',
'dimension1': this.codelabEnv_,
'dimension2': this.codelabCategory_,
'dimension2': this.codelabCategory_ || '',
'eventCategory': category,
'eventAction': opt_action || '',
'eventLabel': opt_label || '',
Expand Down

0 comments on commit c651eae

Please sign in to comment.