change page title containing supplier_code to enable google analytics tracking (untested)
This commit is contained in:
1
client/dist/inject.css
vendored
1
client/dist/inject.css
vendored
@@ -1 +0,0 @@
|
||||
#containerBookingBtn{display:none;margin:0;text-align:center}#get_flash{display:none}.ui-dialog-title{text-align:center;display:none}.ui-widget-overlay{background:#fff;opacity:1;width:100vw;height:100vh}#openSeatmap img{width:64px}#openSeatmap{padding:1rem!important;cursor:pointer;border-radius:5px}#openSeatmap span{font-size:1.2rem}#foobarParent{display:none}div#dialogSeatmap{padding-top:0}.ui-widget-header{background:#fff;border:1px solid #c6c6c6;border-bottom-right-radius:0;border-bottom-left-radius:0}.ui-dialog{background:#fff;left:0!important;padding:0;top:0!important;right:0!important}.ui-dialog .ui-dialog-content{padding:0}.ui-dialog-titlebar{margin-left:0;margin-right:0;padding:0!important;display:none}#iframeSeatmap{height:100vh;background:#fff;width:100%}.ui-corner-all{border-radius:0}.ui-widget{border:none!important}
|
||||
1635
client/dist/inject.js
vendored
1635
client/dist/inject.js
vendored
File diff suppressed because one or more lines are too long
1
client/dist/seatmap.css
vendored
1
client/dist/seatmap.css
vendored
File diff suppressed because one or more lines are too long
1635
client/dist/seatmap.js
vendored
1635
client/dist/seatmap.js
vendored
File diff suppressed because one or more lines are too long
@@ -49,6 +49,7 @@ export function initSendInputsWithValue(inE: any) {
|
||||
const data: I.Message = JSON.parse(inE.data);
|
||||
config.state.inputsWithValue = data.message;
|
||||
UI.changeVenueImage();
|
||||
UI.changeSiteTitle();
|
||||
Communication.sendEventToParent("child_init_needVenueXML");
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@ export function setOptionSelect(inSeatmapListing: I.Seatmap[], inId: string): vo
|
||||
}
|
||||
}
|
||||
|
||||
export function changeSiteTitle(): void {
|
||||
document.title += ` ${config.state.inputsWithValue?.supplier_code}`;
|
||||
}
|
||||
|
||||
export function setEventInfo(inEventInfo: I.EventInfo): void {
|
||||
const inputsWithValue = config.state.inputsWithValue!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user