Commit bf1803d
authored
Prevent error when GoogleAnalyticEnhancedECommerce is not set
In some case GoogleAnalyticEnhancedECommerce is not set.
To prevent any javascript error as ```Uncaught ReferenceError: GoogleAnalyticEnhancedECommerce is not defined``` provide a test before to use it1 parent bc563ec commit bf1803d
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments