Git Product home page Git Product logo

universal-analytics-migration's Introduction

Migrating to Universal Analytics

This is the source for the Universal Analytics Migration Guide.

Universal Analytics is the newest version of Google Analytics. In fact, it is so new, it just came out of beta! A few great new features:

  • New, faster code
  • Simplified interface & configuration
  • Migrated from custom variables to custom metrics & dimensions (and gave more of each!)
  • Better cross-platform tracking

Find an error or want to contribute to the guide? Submit a pull request!

universal-analytics-migration's People

Contributors

misterphilip avatar whitwaldo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

universal-analytics-migration's Issues

Search

Implement a way for users to search a command

Missing price param

In ecommerce section for analytics.js missing price param for ecommerce:addItem command.

ecommerce with custom dimension

i have problem tracking my custom dimension (payment type in my case).
my code looks like this, but it doesnt work:

    // GA loader
    ga('create', '{{ ga_tracking }}', 'auto', {
        'allowLinker': true
    });
    ga('require', 'displayfeatures');
    ga('require', 'linker');
    ga('linker:autoLink', ['domain1.com', 'domain2.com']);

    ga('set', 'dimension1', 'credit card');
    ga('require', 'ecommerce', 'ecommerce.js');
    ga('ecommerce:addTransaction', {
        'id': '123',
        'revenue': '100',
        'currency': 'XY'
    });
    ga('ecommerce:addItem', {
        'id': '123',
        'name': 'Package 1',
        'sku': '1',
        'category': 'Cat 1',
        'price': '100',
        'quantity': '1'
    });
    ga('ecommerce:send');

    ga('send', 'pageview');

i dont know where and how to send my custom dimension.
should it be part of pageview hit? or should it be part of ecommerce:send? if 2nd than how to set the dimension to belong to ecommerce:send?

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.