Skip to content

Commit

Permalink
fmk - adding some ifdef to try different options for comping dcv
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Oct 3, 2024
1 parent 7f995a3 commit 8369a7d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,46 @@ int main(int argc, char *argv[])
view.show();
view.hide();
#endif

#ifdef _ANALYTICS

//Setting Google Analytics Tracking Information
qDebug() << "RELEASE BUILD";
GoogleAnalytics::SetMeasurementId("G-CPFD5EFJ4Y");
GoogleAnalytics::SetAPISecret("vxNbZfRdRUyVx3fBpdUXxg");
GoogleAnalytics::CreateSessionId();
GoogleAnalytics::StartSession();

#endif

#ifdef _GA_BEFORE

// Opening a QWebEngineView and using github to get app geographic usage
QWebEngineView view;
view.setUrl(QUrl("https://nheri-simcenter.github.io/EE-UQ/GA4.html"));
view.resize(1024, 750);
view.show();
view.hide();
#endif


//
// exe application event-loop
//

int res = a.exec();


#ifdef _GA_AFTER

// Opening a QWebEngineView and using github to get app geographic usage
QWebEngineView view;
view.setUrl(QUrl("https://nheri-simcenter.github.io/EE-UQ/GA4.html"));
view.resize(1024, 750);
view.show();
view.hide();
#endif

//
// on done with event loop, logout & stop the thread
//
Expand Down

0 comments on commit 8369a7d

Please sign in to comment.