IIIF / iiif-stories

Community repository for documenting stories and use cases related to uses of the International Image Interoperability Framework.
21 stars 0 forks source link

As a provider of a drag and drop link in my catalog, I want to be notified that someone has dragged my icon. #96

Open randystern opened 7 years ago

randystern commented 7 years ago

As a provider of a drag and drop link in my catalog, I want to be be notified that someone has dragged my icon so that I can collect statistics on usage of my content.

For example, an event could be fired when the link is dragged. Not sure if Google analytics can detect this - if so, IIIF would not need to do anything and this issue is not needed.

zimeon commented 7 years ago

Sounds like this would be outside of the drag and drop spec per se (as notifications related to clicking on an HTML <a href="..."> link are outside of the HTML spec) but it would be good to understand how this can be done from JavaScript and how cross-browser (or not) support is.

azaroth42 commented 7 years ago

Propose out of scope? As you provide the icon, wrapping it in some javascript to trigger an XHR to collect usage data seems easy enough, and would be dependent on the system used to collect that data.

mattmcgrattan commented 7 years ago

Out of scope: more of an analytics use case, although could be subject to implementation notes?

azaroth42 commented 7 years ago

Would be in scope for an analytics group, but we don't have one of those. Untagged discovery, but leaving it open in case someone wants to pick it up.