David Widaman
posted this on July 20, 2011 10:56 pm
All logging requests should go to http://px.topspin.net/ev![]()
All arguments will be passed as part of the GET query string.
| new query key | former key | description | type |
| et | event_type | event type i | integer from below list |
| es | event_source | the kind of widget sending the event | will always be 10 for custom API player |
| u | parent_url | the url this widget is being served from | full url |
| c | campaign_id | the campaign of the widget | integer of campaign |
Event Types
| et value | event | ||
| 0 | view | ||
| 1 | play | ||
| 3 | click | ||
The server will return a 200 OK along with the following headers:
The server will return a 1x1 image.
| st value | sub type Play event | ||
| 0 | user initiated play | ||
| 1 | autoplay | ||
The play event is sent at the beginning of the track and only one play event is ever sent per track. If the track is paused / unpaused, no further plays are propagated for the track.
The autoplay event is sent at the beginning of the track and only one autoplay event is ever sent per track. If the track is paused / unpaused, no further plays / autoplays are propagated for the track. Any subsequent tracks are logged as plays as defined above (since they are the result of an explicit user request).
View, campaign id = 1,
http://px.topspin.net/ev?et=0&c=1&es=10![]()
Play, campaign id = 1, media being played id = 1000:
http://px.topspin.net/ev?et=1&es=X&c=1&es=10&m=1000![]()
Autoplay, campaign id = 1, media being played id = 1000:
http://px.topspin.net/ev?et=1&st=1&s=0&c=1&es=10&m=1000![]()
Click, campaign id = 1,
http://px.topspin.net/ev?et=3&c=1&es=10![]()