Permalink
Browse files

remove GoogleAnalyticsPlugin.js

  • Loading branch information...
1 parent 410a27b commit e6ae4e9648a0c9a383a4421284aed990370421ab @danieldkim committed May 30, 2012
@@ -1,36 +0,0 @@
-function GoogleAnalyticsPlugin() {}
-
-GoogleAnalyticsPlugin.prototype.startTrackerWithAccountID = function(id) {
- PhoneGap.exec("GoogleAnalyticsPlugin.startTrackerWithAccountID",id);
-};
-
-GoogleAnalyticsPlugin.prototype.trackPageview = function(pageUri) {
- PhoneGap.exec("GoogleAnalyticsPlugin.trackPageview",pageUri);
-};
-
-GoogleAnalyticsPlugin.prototype.trackEvent = function(category,action,label,value) {
- var options = {category:category,
- action:action,
- label:label,
- value:value};
- PhoneGap.exec("GoogleAnalyticsPlugin.trackEvent",options);
-};
-
-GoogleAnalyticsPlugin.prototype.setCustomVariable = function(index,name,value) {
- var options = {index:index,
- name:name,
- value:value};
- PhoneGap.exec("GoogleAnalyticsPlugin.setCustomVariable",options);
-};
-
-GoogleAnalyticsPlugin.prototype.hitDispatched = function(hitString) {
- //console.log("hitDispatched :: " + hitString);
-};
-GoogleAnalyticsPlugin.prototype.trackerDispatchDidComplete = function(count) {
- //console.log("trackerDispatchDidComplete :: " + count);
-};
-
-PhoneGap.addConstructor(function() {
- if(!window.plugins) window.plugins = {};
- window.plugins.googleAnalyticsPlugin = new GoogleAnalyticsPlugin();
-});

0 comments on commit e6ae4e9

Please sign in to comment.