Skip to content

Commit

Permalink
fix: update google analytics
Browse files Browse the repository at this point in the history
(cherry picked from commit 55eec90)

Committer added remarks:
This replaces Google's discontinued Universal Analytics iframe
with Google Analytics 4
  • Loading branch information
mlluciano authored and valdeza committed Jun 4, 2024
1 parent 423fc5b commit 863e9e4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions public/client/js/react/src/stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@ const Stats = ({usage, ingest, ingestCumulative, collected, taxon, flags}) => {
<div className="container-fluid">
<div className="row">
<div className="col-lg-7 col-lg-offset-2 col-md-9 col-md-offset-1 col-sm-10" id="container">
<Charts usage={usage} ingest={ingest} ingestCumulative={ingestCumulative} collected={collected} taxon={taxon} flags={flags} />
<Charts usage={usage} ingest={ingest} ingestCumulative={ingestCumulative} collected={collected}
taxon={taxon} flags={flags}/>
<h3><a name="google-analytics">Google Analytics Data</a></h3>
<iframe style={{"width": "880px", "height": "860px"}}src="https://datastudio.google.com/embed/reporting/0B_MqM-SMbq09eWhiN0NzMEZUSjg/page/1M"></iframe>

<iframe width="100%" height="600px"
src="https://lookerstudio.google.com/embed/reporting/e1efb265-1581-4bfe-961c-e7c3b1795208/page/kIV1C"
style={{"border":0}} allowFullScreen
sandbox="allow-storage-access-by-user-activation allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"></iframe>
</div>
<div className="col-lg-2 col-md-2 col-sm-2">
<div id="side-nav">
Expand Down

0 comments on commit 863e9e4

Please sign in to comment.