File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/static-site/src/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 , styleDefault = '\x1B[0;3m'
88 , styleHeading = '\x1B[0;34;1m'
99 /* provide a global variable */
10- , tableFnName = 'dlEvents ' ;
10+ , tableFnName = 'showDataLayerTable ' ;
1111 /* display all watched events as console table */
1212 w [ tableFnName ] = ( ) => console . table ( dl . slice ( ) . filter ( i =>
1313 typeof i . name !== 'undefined' ) ) ;
2424 }
2525 } ) ;
2626 alert ( `DataLayer events will be displayed in console. Rerun bookmarklet or
27- call ${ tableFnName } () from the console to display a table of all events.\n\n
27+ call ${ tableFnName } () from the console to display a table of all events.\n\n
2828
2929A prompt will warn you before leaving the page, this is normal and will allow
30- you to inspect the dataLayer events, that would have reloaded the page.\n\n
30+ you to inspect the dataLayer events, that would have reloaded the page.\n\n
3131
3232Follow the prompt to reload or leave the page if you are done watching events.` ) ;
3333 w . onbeforeunload = ( e ) => '' ;
You can’t perform that action at this time.
0 commit comments