sitefinitysteve / nativescript-google-analytics

Apache License 2.0
23 stars 14 forks source link

Support console.log() to be set on and off with the init-options. #5

Closed Metalmate closed 8 years ago

sitefinitysteve commented 8 years ago

I like the idea! But changed the implimentation... Init is now

    googleAnalytics.initalize({
                trackingId: "<yourid>",
                dispatchInterval: 5,
                logging: {
                    native: true,
                    console: false
                }
            });

Needed to differentiate between native and console logging, and didn't want the logging option itself stored in the {N} global.

Update is on NPM

Metalmate commented 8 years ago

Nice, thank you