This folder contains the code used in the Custom Events tutorial video on YouTube
The local server requires Deno
Once Deno is installed, you can run the local web server with the following command from this folder /tutorials/3-events:
deno run --allow-net --allow-read ./src/index.ts
Then, open http://localhost in your web browser.
By default, the server listens on port 80. If that port is in use or is
otherwise unavailable, override the port using the --port
argument. For
example, you could run the server on port 8000 as follows:
deno run --allow-net --allow-read ./src/index.ts --port 8000
Then, open http://localhost:8000 in your web browser.
💬 Join the official GA Discord server
📝 Signup
for the Google Analytics Developer Newsletter
📄 Explore GA developer
documentation