N
nicoltoons
Guest
Hello! So I have this issue measuring clicks and impressions with game analytics.
I get my data from an external json file ie name of company and url
I have a button that opens the url but I want to use gameanalytics to know when a user clicks the button to open the url
According to the documentation, the script I need is ga_addDesignEvent()
I have been trying to interprete this script :
This is the script
///ga_addDesignEvent(eventId:string, ?value:number)
if(argument_count == 1)
{
addDesignEvent(argument[0]);
}
else if(argument_count == 2)
{
addDesignEventWithValue(argument[0], argument[1]);
}
I get my data from an external json file ie name of company and url
I have a button that opens the url but I want to use gameanalytics to know when a user clicks the button to open the url
According to the documentation, the script I need is ga_addDesignEvent()
I have been trying to interprete this script :
This is the script
///ga_addDesignEvent(eventId:string, ?value:number)
if(argument_count == 1)
{
addDesignEvent(argument[0]);
}
else if(argument_count == 2)
{
addDesignEventWithValue(argument[0], argument[1]);
}