Skip to content

Commit 8b363ad

Browse files
committed
add google analytics and meta keywords
1 parent ba96fb4 commit 8b363ad

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

circuitSolver/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="author" content="Will Kelsey">
8+
<meta name="description" content="Free Online Circuit Solving Tool">
9+
<meta name="keywords"
10+
content="circuit,transfer,laplace,rlc,resistor,inductor,capacitor,solver,solve,free,online,opamp,op-amp,operational,amplifier,frequency,bilinear,transform">
11+
712
<title>Circuit Solver</title>
813
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
914
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
@@ -38,6 +43,16 @@
3843
<script type="module" src="./modules/main.js"></script>
3944
</head>
4045

46+
<!-- Google tag (gtag.js) -->
47+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-49JWX5SWFL"></script>
48+
<script>
49+
window.dataLayer = window.dataLayer || [];
50+
function gtag(){dataLayer.push(arguments);}
51+
gtag('js', new Date());
52+
53+
gtag('config', 'G-49JWX5SWFL');
54+
</script>
55+
4156
<body>
4257
<div id="app"></div>
4358
</body>

circuitSolver/modules/main.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,11 @@ class Game extends React.Component {
697697
<${navBar} title="ONLINE CIRCUIT SOLVER" key="navBar" onClickUndo=${(e) => this.handleUndo(e)}/>
698698
<div className="w-100 p-2 bg-green" key="wrapper">
699699
<div className="container-xl" key="topContainer">
700+
<div className="row">
701+
<div className="col">
702+
<p>This free online circuit solver tool can calculate the transfer function of circuits built from resistors, capacitors, inductors and op-amps. The user can quickly explore different topologies and find their Laplace transform</p>
703+
</div>
704+
</div>
700705
<div className="row shadow-sm rounded bg-lightgreen my-2 py-1" id="schematic">
701706
<div className="col">
702707
<${SchematicComponents} key="schemComp"/>

0 commit comments

Comments
 (0)