File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77 < title > Glean.js Website Sample</ title >
88</ head >
99< body >
10- < button id ="record " role ="button " aria-pressed ="false ">
10+ < button id ="record " role ="button " aria-pressed ="false " data-glean-id =" record-button " data-glean-label =" record " >
1111 Record
1212 </ button >
13- < button id ="glean " role ="button " aria-pressed ="false ">
13+ < button id ="glean " role ="button " aria-pressed ="false " data-glean-id =" submit-button " data-glean-label =" submit " >
1414 PUSH 👏 THIS 👏 BUTTON
1515 </ button >
1616 < p id ="console-warn ">
Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ import * as metrics from "./generated/sample.js";
1010
1111Glean . setLogPings ( true ) ;
1212Glean . setDebugViewTag ( "glean-from-website" ) ;
13- Glean . initialize ( "glean-sample-website" , true ) ;
13+ Glean . initialize ( "glean-sample-website" , true , {
14+ enableAutoElementClickEvents : true
15+ } ) ;
1416
1517metrics . pageLoaded . set ( ) ;
1618
You can’t perform that action at this time.
0 commit comments