Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Where is the documentation?

Discussion in 'Unity Analytics' started by hansadler, Jun 21, 2015.

  1. hansadler

    hansadler

    Joined:
    May 12, 2014
    Posts:
    50
    I just started looking into Unity Analytics. I can't seem to find the documentation that shows how to fire a custom event in code. Can someone give me a URL? Thanks.
     
  2. elie-noune

    elie-noune

    Unity Technologies

    Joined:
    Apr 27, 2015
    Posts:
    20
    Hi @hansg,

    You will find the documentation for integrating events after you create a new project and visit the integration section on the side bar. In order to get to the Custom Events part, you will need to complete the basic integration which takes a few minutes.

    If you're just curious about the syntax for events, you can check the public documentation here.
     
  3. hansadler

    hansadler

    Joined:
    May 12, 2014
    Posts:
    50
    Hello Elie,

    Ok, thanks. The problem now is that I can't get past the integration stage. I followed the instructions and no events appear in the Test & Validate page. It's been over 18 hours since I first ran my app with the Cloud Project ID in it.
    I just tried deleting the project (from the website), created a new one and still can't get past the Test & Validate page. What do you think I should do to proceed?

    I'm using Unity 5.1.1f1 Pro. With 5.1, I don't have to install the Unity Analytics SDK, correct? The odd thing is that Monodevelop cannot resolved the UnityAnalytics.CustomEvent funciton.

    I tried reinstalling the 5.1.1f1 update, but still no luck.

    What do you think I'm doing wrong?

    Thanks,
    Hans
     
    Last edited: Jun 22, 2015
  4. elie-noune

    elie-noune

    Unity Technologies

    Joined:
    Apr 27, 2015
    Posts:
    20
  5. hansadler

    hansadler

    Joined:
    May 12, 2014
    Posts:
    50
    Hi Elie,
    I found the issue. On another thread someone mentioned that if the "Disable HW statistics" box is checked, then the project will not integrate.

    Thank you