Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by hollym16 · Mar 27, 2017 at 09:58 AM · scripting problemiosplugindatagoogle

Can Google Analytics for Unity collect data on Demographics?

I'm using the GAv4 plugin found here: https://github.com/googleanalytics/google-analytics-plugin-for-unity I was able to track objects easily using the documentation as a guide.

I now want to enable Demographics but the only documentation I can find is for iOS and Android plugins or js code: https://support.google.com/analytics/answer/2444872?hl=en-GB&utm_id=ad

There is a tick box on the GAv4 prefab that has a tick box "Send IDFA/AdID" (see screenshot). Is it as simple as ticking this or is there more to it?

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by summitgamesentertainment · Mar 29, 2017 at 02:50 PM

Unity does allow demographics. After you have added the prefab. Make sure to tick or enable the last property on that prefab.

You must externally define and call the methods wherever you want the data to be collected.

This will certainly solve your query.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hollym16 · Mar 29, 2017 at 03:28 PM 0
Share

Hi, Thanks for the reply.

Can you point me to some scripting/documentation on how to call the method? Google Analytics collects data about age and gender but theres nothing in my App that defines it. However, on the Google Analytics documentation it says:

"Analytics generates an identifier based on the IDFA that includes demographic and interests information associated with users’ app activity"

What kind of method do I have to call?

avatar image summitgamesentertainment hollym16 · Mar 29, 2017 at 04:54 PM 0
Share

Sharing few lines of code: this log event function is called when the player has completed a certain mission:

 googleAnalytics.LogEvent("Stage", "Unlocked", "12.5 Acre", 1);

You can check all the methods from this link: https://developers.google.com/analytics/devguides/collection/unity/v4/reference

Please mark the answer as correct. Thank you. Happy Coding :)

avatar image hollym16 summitgamesentertainment · Mar 30, 2017 at 09:22 AM 0
Share

Ok great. I have some LogEvent code to track button presses, so this should now work, yes?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

108 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Access photos, videos & music from iOS and Android library? 0 Answers

SystemInfo.batteryStatus integration 2 Answers

Google Play Game Services Plugin "Failed to re-package resources" 2 Answers

Ads are not shown (GoogleMobileAds) 1 Answer

iOS Unity Plugin : Load Video from 'Videos'app and Photo Library on iOS Device 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges