Coder Social home page Coder Social logo

michaelerobertsjr / google-analytics-tag-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielwrobert/google-analytics-tag-manager

0.0 2.0 0.0 101 KB

Seed project for hack night, Google Analytics, Tag Manager, real time analytics

JavaScript 50.15% HTML 49.08% CSS 0.78%

google-analytics-tag-manager's Introduction

Sample site to test Google Analytics and GTM

Basic setup

  1. If you don’t already have a gmail/Google account create one here: https://accounts.google.com/SignUp

  2. Signup for a free Heroku account: https://signup.heroku.com/login

  3. Install Heroku toolbelt - https://toolbelt.heroku.com/

  4. Install any Plain Text editor or IDE. A popular editor (with a free trial) is Sublime Text: http://www.sublimetext.com/2

Deploy the project

Click on the button:

Deploy

Download the repository locally

$ heroku git:clone -a [name of heroku app]

$ cd [name of heroku app]

$ sudo npm install

Run the web server

$ gulp

Edit the app

  • Add Google Tag Manager snipet

Configure the container on Google Tag Manager

Basic tracking:

  • Try tracking pages
  • Try tracking link clicks
  • Try tracking automatic event

Advanced topics

  • Try adding data via the datalayer (browser window size, scrolling, etc.)
  • Try implement a form validation method and send info about failed attempts

google-analytics-tag-manager's People

Watchers

 avatar  avatar

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.