We are using google universal analytics and it is scheduled to end in 2023/07.
We are considering switching to google analytics 4.
In google analytics 4, the script is supposed to be written in the section.
Is it possible to add the script description to the section of jitsi meet web?
If not, is it possible for you to consider adding it in the future?
You can use base.html file to add it there on your deployment
<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
<head>
<!--#include virtual="head.html" -->
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="theme-color" content="#2A3A4B">
<!--#include virtual="base.html" -->
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="stylesheet" href="css/all.css">
<!--#include virtual="fonts.html"-->
<link rel="manifest" id="manifest-placeholder">
<script>
window.EXCALIDRAW_ASSET_PATH = 'libs/';
// Dynamically generate the manifest location URL. It must be served from the document origin, and we may have
// the base pointing to the CDN. This way we can generate a full URL which will bypass the base.
Dear damencho.
I wrote to the head section in “/usr/share/jitsi-meet/index.html” and it worked fine.
Thank you very much.
Don’t forget to re-add it after update.
You can always put a file base.html in /etc/jitsi/meet folder with that and add an nginx rule to point to it similar to this:
This way your changes will survive updates.