Data Integration
Mandatory Events
Social Apps
3min
use the following events for social apps upvote user to upvote a user on the app properties name type required description customerid string yes customer id of the user who receives the upvote refcode string no unique referral code of the user who receives the upvote code example the following example includes optional properties too const props = { "customerid" "c1234", "refcode" "r1234" }; cooeesdk sendevent("upvote user", props);const props = { 'customerid' 'c1234', 'refcode' 'r1234' }; cooeesdk sendevent('upvote user', props);map\<string, object> props = new hashmap<>(); props put("customerid" "c1234"); props put("refcode" "r1234"); cooeesdk sendevent("upvote user", props);val props = mapof( "customerid" to "c1234", "refcode" to "r1234" ) cooeesdk sendevent("upvote user", props)nsdictionary props = @{ @"customerid" @"c1234", @"refcode" @"r1234" }; @try { \[cooeesdk sendeventwitheventname @"upvote user" eventproperties\ props error\ nil]; } @catch (nsexception exception) { nslog(@"%@", exception reason); } @finally { nslog(@"finally condition"); }let props = \[ "customerid" "c1234", "refcode" "r1234" ] do { try cooeesdk sendevent(eventname "upvote user", eventproperties props) } catch { print("\\(error)") } dart var props = { "customerid" "c1234", "refcode" "r1234" }; cooeesdk sendevent("upvote user", props);