2837ed0c110b12b4549d82ffaa4f154bdb2a09c4
max
  Mon Jan 8 04:51:09 2024 -0800
adding GA4 code to second code that generated <HEAD>, refs #30725

diff --git src/inc/htmshell.h src/inc/htmshell.h
index 8aaf44d..34d2676 100644
--- src/inc/htmshell.h
+++ src/inc/htmshell.h
@@ -119,30 +119,33 @@
  * beneath apache root that caller's HTML will appear to the web client.
  * E.g. if writing HTML from cgi-bin, dirDepth is 1; if trash/body/, 2. */
 
 void htmlEnd();
 /* Write the end of a cgi-generated html file */
 
 void htmEnd(FILE *f);
 /* Write the end of a stand-alone html file */
 
 extern char *htmlStyleUndecoratedLink;
 /* Style that gets rid of underline of links. */
 
 void htmlSetGa4Key(char *key);
 /* Set google analytics 4 key, used when outputting HEAD */
 
+void htmlPrintAnalyticsLink(FILE *f);
+/* print the link to the analytics javascript file in the html header */
+
 void htmlSetStyle(char *style);
 /* Set document wide style. A favorite style to
  * use for many purposes is htmlStyleUndecoratedLink
  * which will remove underlines from links.
  * Needs to be called before htmlStart or htmShell. */
 
 void htmlSetStyleSheet(char *styleSheet);
 /* Set document wide style sheet by adding css name to HEAD part.
  * Needs to be called before htmlStart or htmShell. */
 
 void htmlSetFormClass(char *formClass);
 /* Set class in the BODY part. */
 
 
 void htmlSetStyleTheme(char *style);