Skip to content

googleanalytics/ga4-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Analytics 4 Tutorial Series

This repository contains the code used in the demo website for the Google Analytics 4 (GA4) Tutorial Series on YouTube. You can find the code for each video in the /tutorials directory.

The current code is found in the /src directory, which contains all the changes made in each video up to the most recent video.

Run the current version of the website

You must install Deno to run the website code.

Once you install Deno, run the local web server with the following command:

deno task start

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 task start --port 8000

Then, open http://localhost:8000 in your web browser.

Join our community

💬 Join the official GA Discord server
📝 Sign up for the Google Analytics Developer Newsletter
📄 Explore GA4 developer documentation