GithubHelp home page GithubHelp logo

haxe-ga's People

Contributors

chipbell4 avatar fbricker avatar goshki avatar jgranick avatar phil-allcock avatar richard-walton avatar starburst997 avatar walton909 avatar zweimal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

haxe-ga's Issues

Emphasize GA account compability

Thanks for creating this project -- it will definitely help me in adding simple analytics for my game ๐Ÿ‘

However, I had some trouble finding out if it actually worked. I had set up an "Mobile App" google analytics account (I need to tracking from native iOS/Android as well as Web) and nothing was reported. Changing the account type to "Website" made it work beautifully.

The requirement for using the analytics ID of an "Website"-GA account should be emphasized in the readme to help others avoid my (silly?) mistake ๐Ÿ‘

Version 0.5.2 fails to install

I'm running windows and when i run the command:
haxelib install haxe-ga

I get the error message:
Unsupported flags 2

A quick google reveals this is caused by issues when zipping up the project.
Link

Custom Dimension

I'm wondering if the custom dimensions are supported. Seems like it's not. Maybe custom Variables can do the trick but it's limited to 5 and I need 9...
Any advice?

Issue compiling with Lime 7.1.1

The issue seems to be that lime.app.Application.config was removed, but I believe lime.app.Application.meta was added with some of the same fields.

Newest Version Breaks in Flash

The change from 0.4.6 to 0.4.7 broke a project I'm working on, but only with the flash target. The project uses OpenFL and everything is updated.

I had a look, and the problem seems to be on line 166 of "googleAnalytics/internals/request/Request.hx":

urlRequest.requestHeaders.push(new flash.net.URLRequestHeader('User-Agent', userAgent));

Removing just this line fixes the problem for me, but obviously changes functionality. I had a look and I'm not sure why there is a problem with that line. Wrapping the line in a try-catch statement doesn't seem to catch anything (with "catch (e:Dynamic)").

Strange JNI exception on android

I'm trying to integrate this library into a game I'm working on and it's all fine and dandy on Flash and native Windows builds (haven't tested OS X or iOS yet), but on Android I get this exception on startup:

E/HXCPP   (17136): Called from *::closure extension/locale/Locale.hx line 7
E/HXCPP   (17136): Called from openfl._legacy.utils.JNI::createStaticMethod openfl/_legacy/utils/JNI.hx line 123
E/HXCPP   (17136): Called from extern::cffi C:/files/tools/sdks/haxe/haxe/lib/hxcpp/3,2,102/src/hx/Lib.cpp line 159
E/Exception(17136): JNI Exception

I have tried using the provided sample code in a separate project and that does indeed work, both for legacy and "next" builds both with the provided example tracking id and my own.

The issue with my project persists even when I disable everything but the bare skeleton of the app calling (or simply mentioning) your library still causes the exception. Nor does it help removing the entire build directory to get a fresh rebuild.

I'm currently trying to figure out exactly why this is happening, but figured I'd make this issue here in case you have any bright ideas.

OpenFL 3 can't compile for native targets (Lib.packageName)

there is no support for these info in openfl 3 anymore, actually we can discuss and check major version of openfl and make more tricky checks for preprocessor...

I've also created issue on openfl to clarify the status and plans on implementation of these fields. openfl/openfl#719

Or the simplest solution is just drop that functionality from haxe-ga, and provide some customPackage setter outside of main module.

Stats.destroy

Hi !

There is no ga.Stats destructor and we feel it should available since many usage patterns with android activities can mess with this.

We believe Variables should be null set, connection closed ( flushed ) and threads stopped.

Can you implement it ?

Thanks !

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.