Skip to content

thirionjwf/ga-client-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ga-client-id

A simple React application that retrieves a Client ID from local storage and sets the Google Analytics Client ID to that value. If a value was not previously set, one is generated. This is done to ensure consistent tracking of a user between sessions.

Purpose

To test setting the Client ID used by Google Analytics in the local storage of the browser.

Design

This is a react web application.

Getting started

  1. Ensure git and node are installed.
  2. Clone this project with git clone git@github.com:thirionjwf/ga-client-id.git.
  3. Install pre-requisites (run npm install).
  4. Start the web server (run npm start).

About

A simple React application that retrieves a Client ID from local storage and sets the Google Analytics Client ID to that value. If a value was not previously set, one is generated. This is done to ensure consistent tracking of a user between sessions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors