Code Monkey home page Code Monkey logo

ga4-tutorials's Introduction

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

ga4-tutorials's People

Contributors

jackgrahamgit avatar jradcliff avatar matt-landers avatar polygbrl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ga4-tutorials's Issues

Troubleshooting Character Encoding Issues in Google Analytics Reports on Android Devices

I noticed that when I view my website using an Android phone, although the web page displays correctly in the browser with the proper encoding, the titles appear as garbled characters when I access the GA (Google Analytics) reports. This issue occurs on most Android phones, but not all, and the specific versions vary. What could be causing this, and how can I address it?

1

2

How to use GA 4 in chrome extension

I am using Universal Analytics with analytics.js and I want to migrate to GA4.
I add the tag snippet in my web and it works fine.
But when i add the tag snippet to my chrome extension popup.html, it doesn't work. In chrome network inspector I can not find the collect request.
How can i use GA4 in chrome extension?

Deno server not working on Windows 11

I cannot run it on win 11. Deno throw an error:

Task start deno run -A --watch=src/public/ src/index.ts
Watcher Process started.
File server running on http://localhost:80/
index.eta
Error: The filename, directory name, or volume label syntax is incorrect. (os error 123): lstat 'C:\C:\Users\kosty\ga4-tutorials\src\public\index.eta'
at Object.lstatSync (ext:deno_fs/30_fs.js:339:7)
at Module.existsSync (https://deno.land/[email protected]/fs/exists.ts:23:10)
at https://deno.land/x/[email protected]/file-utils.ts:113:19
at Array.some ()
at searchViews (https://deno.land/x/[email protected]/file-utils.ts:108:13)
at getPath (https://deno.land/x/[email protected]/file-utils.ts:172:21)
at renderFile (https://deno.land/x/[email protected]/file-handlers.ts:259:27)
at handleHttp (file:///C:/Users/kosty/ga4-tutorials/src/index.ts:37:39)
at eventLoopTick (ext:core/01_core.js:181:11) {
code: "ENOENT"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.