Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

yasinuslu/meteor-metrika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrika: Reactive Yandex Metrika wrapper for Meteor

This package is influenced by GAnalytics, but it's actually quite different

Installing

Before 0.9.0

mrt add metrika

After 0.9.0:

meteor add yasinuslu:metrika

If you don't have a settings.json file, you need to add one and load it according to the Meteor documentation. http://docs.meteor.com/#meteor_settings

In settings.json add

{
  "public" : {
    "yandex": {
      "id":"XXXXXXX"
    }
  }
}

Usage

Usage is just like http://help.yandex.com/metrica/code/ajax-flash.xml

You should just replace yaCounterXXXXXX with Metrika. Beware that if you call any method before metrika loads that method will be called right after initialization if you're in a reactive context.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages