Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 16d3a55

Browse files
committedDec 4, 2022
Migrate from Universal Analytics to Google Analytics 4
1 parent b56b68e commit 16d3a55

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed
 

‎index.html

+32-12
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,17 @@
2929
<meta property="article:published_time" content="2019-11-17" />
3030

3131
<meta property="og:type" content="website" />
32-
<meta property="og:title" content="Interactive Optimization Methods &#124; Ezequiel Leonardo Castaño Personal Website" />
32+
<meta property="og:title"
33+
content="Interactive Optimization Methods &#124; Ezequiel Leonardo Castaño Personal Website" />
3334
<meta property="og:description"
3435
content="An index with different Interactive Optimization Methods, both gradient based and gradient Free" />
3536
<meta property="og:site_name" content="Ezequiel Leonardo Castaño Personal Website" />
3637
<meta property="og:url" content="https://elc.github.io/interactive-optimization/" />
3738
<meta property="og:image" content="https://elc.github.io/interactive-optimization/media_image.png" />
3839

3940
<meta name="twitter:card" content="summary">
40-
<meta name="twitter:title" content="Interactive Optimization Methods &#124; Ezequiel Leonardo Castaño Personal Website">
41+
<meta name="twitter:title"
42+
content="Interactive Optimization Methods &#124; Ezequiel Leonardo Castaño Personal Website">
4143
<meta name="twitter:description"
4244
content="An index with different Interactive Optimization Methods, both gradient based and gradient Free">
4345
<meta name="twitter:url" content="https://elc.github.io/interactive-optimization/">
@@ -75,25 +77,33 @@ <h2 class="option__title">Gradient Based</h2>
7577

7678
<section class="option window">
7779
<h2 class="option__title">Gradient Free</h2>
78-
<button class="button button--disable" onclick="">Differential Evolution<br><small>Work In Progress</small></button>
79-
<button class="button button--disable" onclick="">Simulated Annealing<br><small>Work In Progress</small></button>
80-
<button class="button button--disable" onclick="">Nelder–Mead<br><small>Work In Progress</small></button>
81-
<button class="button button--disable" onclick="">Particle Swarm<br><small>Work In Progress</small></button>
80+
<button class="button button--disable" onclick="">Differential Evolution<br><small>Work In
81+
Progress</small></button>
82+
<button class="button button--disable" onclick="">Simulated Annealing<br><small>Work In
83+
Progress</small></button>
84+
<button class="button button--disable" onclick="">Nelder–Mead<br><small>Work In
85+
Progress</small></button>
86+
<button class="button button--disable" onclick="">Particle Swarm<br><small>Work In
87+
Progress</small></button>
8288
</section>
8389

8490
<div class="option option--multiple">
8591
<section class="window option--multiple__window">
8692
<h2 class="option__title">Sampling Based</h2>
87-
<button class="button button--disable" onclick="">Grid Search<br><small>Work In Progress</small></button>
88-
<button class="button button--disable" onclick="">Random Search<br><small>Work In Progress</small></button>
89-
<button class="button button--disable" onclick="">Latin Hypercube<br><small>Work In Progress</small></button>
93+
<button class="button button--disable" onclick="">Grid Search<br><small>Work In
94+
Progress</small></button>
95+
<button class="button button--disable" onclick="">Random Search<br><small>Work In
96+
Progress</small></button>
97+
<button class="button button--disable" onclick="">Latin Hypercube<br><small>Work In
98+
Progress</small></button>
9099
</section>
91100

92101
<section class="window option--multiple__window">
93102
<h2 class="option__title">Auxiliary</h2>
94103
<button class="button" onclick="toggle('Newton-Raphson')">Newton Raphson</button>
95-
<button class="button button--disable" onclick="">Line Search<br><small>Work In Progress</small></button>
96-
</section>
104+
<button class="button button--disable" onclick="">Line Search<br><small>Work In
105+
Progress</small></button>
106+
</section>
97107
</div>
98108
</div>
99109
<footer class="footer window">
@@ -142,7 +152,7 @@ <h2 class="option__title">Auxiliary</h2>
142152
Index</button>
143153
<iframe src="https://elc.github.io/newton-method/" class="frame--secondary"></iframe>
144154
</section>
145-
155+
146156
<!-- Google Analytics -->
147157
<script>
148158
(function (i, s, o, g, r, a, m) {
@@ -160,6 +170,16 @@ <h2 class="option__title">Auxiliary</h2>
160170
ga("send", "pageview");
161171
</script>
162172

173+
<!-- Google tag (gtag.js) -->
174+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Y3GBPLEV2K"></script>
175+
<script>
176+
window.dataLayer = window.dataLayer || [];
177+
function gtag() { dataLayer.push(arguments); }
178+
gtag('js', new Date());
179+
180+
gtag('config', 'G-Y3GBPLEV2K');
181+
</script>
182+
163183
</body>
164184

165185
</html>

0 commit comments

Comments
 (0)
Please sign in to comment.