diff --git a/GA4.html b/GA4.html
new file mode 100644
index 0000000..7a9bb58
--- /dev/null
+++ b/GA4.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+ This is the SimCentre PBE application.
+
+
+
Acknowledgment
+
+
+ This work is based on material supported by the National Science Foundation under grants CMMI 1612843 and CMMI 2131111
+
+
+
diff --git a/ResultsPelicun.h b/ResultsPelicun.h
index 97d8784..9fea5fd 100644
--- a/ResultsPelicun.h
+++ b/ResultsPelicun.h
@@ -42,7 +42,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include
#include
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
+#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
using namespace QtCharts;
#endif
diff --git a/main.cpp b/main.cpp
index cc8fc38..a79f1e8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -17,6 +17,7 @@
#include
#include
#include
+#include
// customMessgaeOutput code from web:
// https://stackoverflow.com/questions/4954140/how-to-redirect-qdebug-qwarning-qcritical-etc-output
@@ -104,12 +105,6 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
- //Setting Google Analytics Tracking Information
- // GoogleAnalytics::SetMeasurementId("G-JWNPJMZVTK");
- GoogleAnalytics::SetAPISecret("CL5znZLfQv6N2Tk1RJVMWg");
- GoogleAnalytics::CreateSessionId();
- GoogleAnalytics::StartSession();
-
//
// create a remote interface
//
@@ -197,6 +192,24 @@ int main(int argc, char *argv[])
qDebug() << "could not open stylesheet";
}
+ //Setting Google Analytics Tracking Information
+ GoogleAnalytics::SetMeasurementId("G-JWNPJMZVTK");
+ GoogleAnalytics::SetAPISecret("CL5znZLfQv6N2Tk1RJVMWg");
+ GoogleAnalytics::CreateSessionId();
+ GoogleAnalytics::StartSession();
+
+ // Opening a QWebEngineView and using github to get app geographic usage
+ QWebEngineView view;
+ view.setUrl(QUrl("https://nheri-simcenter.github.io/PBE/GA4.html"));
+ view.resize(1024, 750);
+ view.show();
+ view.hide();
+
+
+ //
+ // RUN the GUI
+ //
+
int res = a.exec();
//