C4M has released its Easy Analytics plugin on the Unity Asset store. This is the thread to discuss problems, feature requests or pre-buying inquiries.
Thank you for interest in our Easy Analytics plugin.
when I run the example demo in Nexus 7, the app crashes at the beginning. I build it in Unity3.5.6
problem has been solved, you put the plugins folder in Easy Analytics folder, I did not notice and direct build it,so crashed.
I run the example demo in Galaxy S3 but it look like can’t send data to google server, the report still is blank ( both normal and real-time report )
I changed
EasyAnalytics.Instance.trackerWithTrackingId(“xxxxxx”);
to our tracking id
FIXED : I forget change the bundle id in manifiest.xml
, it’s working now
Glad that you worked it out.
Please don’t hesitate to ask for help here.
And also, if you have time, drop a good review on the assets store, it will help plugin development.
Trying to compile for iOS, getting the following linking errors:
Undefined symbols for architecture armv7:
“_trackerWithTrackingIdImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_setStartSessionImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_setCustomMetricImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendViewImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_setReferrerImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendTransactionImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_setCustomDimensionImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendTimingImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendSocialImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendExceptionImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_setCampaignUrlImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_sendEventWithImpl”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hello,
I’m having some trouble making this work, so any help is more than welcome.
My game does not have a dedicated AndroidManifest, I’m using the one that Unity generates for me. I have copied the Android folder from EasyAnalytics/Plugins into my Asset/Plugins folder. Inside this folder, I have edited the AndroidManifest.xml file so this line reads like this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.<MyCompany>.<MyGame>" android:versionName="<MyVersion>" android:versionCode="1">
Also, when loading the scene I wrote:
EasyAnalytics.Instance.trackerWithTrackingId("<MyGACode>");
EasyAnalytics.Instance.setStartSession(true);
EasyAnalytics.Instance.sendView("/main screen");
Now, I think this plugin does not work from inside the editor but the problem is that while the game compiles and runs great in android, no data is being received by Google Analytics. Nor the realtime graphs, not the standard graphs. So I think I’m messing up something but don’t know what.
Thanks.
@ Hemingway :
Check the following points :
1.The package file are most certainly not at the right location, make sur the “Plugin” folder is right under the “Asset” folder:
+Assets
-CHANGES.txt
-EasyAnalytics.cs
-EasyCodeScanner.unity
-EasyCodeScannerExample.cs
+Editor
+Plugins
+Android
+iOS
+WebPlayer
-README.txt
- In the generated iPhone project you have the GAITrackerWrapper.mm file under the libraries folder
- The GAITrackerWrapper.mm file has the Unity-iPhone Target Membership checked (on the right panel) - very important !
@ -JohnMore-
No you are right the analytics is not enabled in the Editor, but just on the devices.
First question, does the provided example works correctly with your tracking id? The provided example should correctly run out of the box since it has very recently successfully been tested for the lastest release few days ago.
Then check you have the ACCESS_NETWORK_STATE and INTERNET permissions and of course internet data connection on the device.
I’m interested in this but I would like to look over the documentation first so I can see how it works and what I can do with it. Is the documentation available?
This doesn’t work in a standalone windows build, right?
Currently no, but we could add it using the Measurement Protocol APIs. We’d be happy to consult a few days for you.
@brittany: here’s the link to the readme file that you find in the plugin: Mp3Juice - Free MP3 Juice & MP4 Downloads | Unlimited Music 2024
The plugin have any demo or video?
No, sorry.
Hey
Great product, been really happy with it. Unfortunately we’ve got a user with a crashing version of the app that we can’t locate. I was just wondering if there was a way to enable to auto log uncaught exceptions features? - Google Analytics | Google for Developers
Cheers,
Hi WPCJack,
The EasyAnalytics plugin does not uses EasyTracker wrapper implementation of Google but rather the low level implementation and thus you cannot use the auto log exception feature.
On android to activate the debug you can recompile the wrapper and uncomment the line 20 of GAITrackerWrapper.java, on iPhone you can activate it by modifying the GAITrackerWrapper.m class by adding the debug mode on the tracker instance.
Do you have a log of the crash, maybe we could help?
Best reagards
Has anyone got this to work side by side with any of the Prime31 plugins? I’m not getting any errors compiling or in logcat but it’s not tracking. If I setup an empty scene with no Prime31 plugins it works perfect. I tried every combination of Android manifests I can think of.
Maybe this needs to be implemented:
SOLVED:
In case anyone else runs into this, I was able to get this working by editing the plugin to be compatible with Prime31 (and other Unity plugins) by following the gist above. The instructions aren’t that clear so if you need a hand just ask.
When do you plan to support the new Google Analytics V3 API?
Your readme instructions are not very clear on this? For Android, does the bundle id in the AppManifest.xml file have to be the same as my app bundle id, eg “com.mycompany.myapp”, or do I have to change my bundle id in my Android build setting to be “com.c4mprod.easyga” and also have “com.c4mprod.easyga” in my AppManifest?
The latter way is the only way I have gotten the reporting to work, but I dont want to have to change my apps bundle id? How can I make this work using my own bundle id “com.mycompany.myapp”??