change page title containing supplier_code to enable google analytics tracking (untested)
This commit is contained in:
@@ -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