Skip to content

A showcase of demos and tools built with the various Google Analytics APIs and Libraries.

License

Notifications You must be signed in to change notification settings

vishalbedre/ga-dev-tools

This branch is 609 commits behind googleanalytics/ga-dev-tools:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0abe366 · Apr 12, 2016
Jan 20, 2016
Mar 12, 2016
Mar 10, 2016
Mar 12, 2016
Jan 19, 2016
Jan 6, 2016
Apr 12, 2016
Jul 22, 2015
Jan 7, 2016
Oct 28, 2014
Apr 12, 2016
Mar 12, 2016
Jul 17, 2015
Oct 28, 2014
Jan 20, 2016
Oct 28, 2014
Mar 3, 2016
Feb 28, 2016
Jul 17, 2015

Repository files navigation

Google Analytics Demos and Tools

A showcase of demos and tools built with the various Google Analytics APIs and Libraries. View the Site (https://ga-dev-tools.appspot.com)

Submitting Feedback / Reporting Bugs

For the Demos & Tools site

For the Google Analytics platform

  • Documentation for all Google Analytics API, libraries and SDKs can be found on Google Analytics Developers.
  • If you have questions, please refer to the getting help section of the developers site to find the best place to get your questions answered.

Building and Running the Site Locally

The Google Analytics demos and tools site runs on Google App Engine and is built with node.js. To run the site locally you'll need the following software installed on your system:

Once all dependencies are installed, follow these steps to build and run the site locally:

# Clone the repository.
git clone https://github.com/googleanalytics/ga-dev-tools.git
cd ga-dev-tools

# Install the build dependencies.
pip install -r requirements.txt -t python_modules
npm install
npm run build

# Run the local App Engine server.
path/to/dev_appserver.py .

If you're wanting to load any of the pages that require server-side authorization, you'll also need to create a service account, add the private JSON key to your project's root directory, and name it service-account-key.json. You can follow the instructions described in the Server-side Authorization demo for more details.

Now you should be able to load http://localhost:8080/ in your browser and see the site. (Note, the client ID associated with this project has the origin localhost:8080 whitelisted. If you load the site on another port, authentication may not work properly.)

If you're running App Engine on Windows or Mac, you can use the App Engine Launcher GUI to run the site as an alternative to running the above command.

To have your system watch for changes and automatically rebuild the source files, you can run npm run watch in place of the npm run build command shown above.

About

A showcase of demos and tools built with the various Google Analytics APIs and Libraries.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.7%
  • CSS 18.7%
  • HTML 16.4%
  • Python 5.2%