adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
88 stars 107 forks source link

[RTC] Support for Asset Insights and/or basic Analytic tracking #174

Open godanny86 opened 6 years ago

godanny86 commented 6 years ago

Integration of AEM Asset Insights.

Interesting enough Downloads is a metric that most customers would be interested in. This is not something AFAIK that is ootb with Asset Insights. Not sure what is the most appropriate way to handle.

godanny86 commented 6 years ago

@artdirk curious if you have additional thoughts on this enhancement

ar80001-BRONGA commented 6 years ago

Hi @godanny86, I'm so sorry I haven't responded to this (I somehow missed the notification I received when you opened this issue last month).

From speaking with our business partners, it sounds like tracking shares and downloads will be much more valuable to them than tracking clicks from the Search Results to the Asset Details page.

With this noted, I was thinking that tracking clicks on the share and download links themselves from the Search Results and Asset Details pages might be enough, but my fear is that these metrics would be unreliable because we should not assume that people will always follow through when they click on the share and download links.

Please let me know your thoughts on this...thanks!

godanny86 commented 6 years ago

Thanks @artdirk! I think if we put the tracking on the Modal buttons themselves then that will work. Interesting enough Asset Insights does not have a concept of "Downloads" only impressions and clicks IIRC. We could collect a "click" only when the download button is clicked, but not sure if this is more of a hack. A generic Analytics solution could also be used.

ar80001-BRONGA commented 6 years ago

Hi @godanny86, I just wanted to follow up on this and see if you were thinking of adding support for an analytics suite or other reporting options to the core Asset Share Commons code, or if this is something that we should look into implementing on our end. Thanks!

godanny86 commented 5 years ago

Baseline data that we may want to track:

  1. Downloads of Assets / Cart (would need to ensure assets downloaded as part of a cart are also tracked)
  2. Asset Details views a. Should also make configurable metadata a part of the data layer (i.e asset type, tags, etc...)
  3. Sharing of Assets / cart (again would need to work w/ the cart to ensure share of assets as part of the cart are used)

  4. Keyword search terms
  5. Filters used
  6. what else??
ar80001-BRONGA commented 5 years ago

Hi @godanny86, if we could also track the user ID or name of the person taking the above actions that would be perfect. Our business partners want to be able to track who is doing what to help them make better decisions regarding their asset shares and the assets they publish. Thanks!

peter-g-ensemble commented 3 years ago

Hi @godanny86 and @artdirk

I'm just exploring ASC for the first time today and was wondering what happened with this feature?

Is there currently any way OOTB to grab reports containing upload/download activities, change events to binary or metadata, login history etc?

Thanks!

amahoney949 commented 2 years ago

Hello, I am just looking into information on ASC and any kind of analytics or reporting that is available or has been added since this post originated.

ar80001-BRONGA commented 2 years ago

Hi @peter-g-ensemble and @amahoney949,

Sorry for the delay in reporting back on this request, and we ended up using some Adobe Consulting hours to develop custom code to support our analytics needs.

@godanny86, I have not looked at the ASC code for a while and do not know if you've developed any type of OOTB solution to support Adobe Analytics?

Thanks!

amahoney949 commented 2 years ago

Hi @peter-g-ensemble and @amahoney949,

Sorry for the delay in reporting back on this request, and we ended up using some Adobe Consulting hours to develop custom code to support our analytics needs.

@godanny86, I have not looked at the ASC code for a while and do not know if you've developed any type of OOTB solution to support Adobe Analytics?

Thanks!

Hi ar80001-BRONGA,

So you worked directly with Adobe or 3rd party Adobe consultant? Can you provide the general scope of your project, just so I can see what's possible? Such as, did you develop custom code to build analytics into Asset Share Commons directly? OR, build code to send ACS data back to AEM and then develop custom code in AEM to build analytics reports with the AEM Reports tool? Were you able to capture ASC site, asset download data?

davidjgonzalez commented 2 years ago

I threw a line out internally to Adobe consulting folks that have implemented this for real -- but in general

  1. I think the least obtrusive/simplest approach would be to write custom JS code to pull data off existing component DOM and sent it to analytics. You could also bind to DOM events (clicks, etc.) to track conversions. If you look at the DOM of ASC, youll see there's alof of data-asset-share-* attributes that often have interesting info (since they help the JS with functionality) ... for example data-asset-shate-asset is well used, and contains the pull path to the relevant asset (based on the context).