Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Assets reporting in Adobe Analytics

Olivier_Blonste
Level 2
Level 2

Hi, I would like to know for which AEM version (6.0? 6.1?...) the AEM Assets reporting in Adobe Analytics works?

Thanks much,
Olivier

 

1 Accepted Solution
ashishc8696822
Correct answer by
Level 2
Level 2

>>  But AEM Assets Reporting is disabled in Analytics, how can that be enabled ?

AEM Assets Reporting need not be enabled for 6.2 GA

 

>> 2. Data is being tracked in analytics .

>> Also ,when "Dam Asset Performance Report Synch Job” runs, it gives me the below error:

I assume you are able to see the Impression and Click events on Analytics. If yes, then the error while running the report sync job is most likely an issue with Sitecatalyst servers. I'd recommend using https://marketing.adobe.com/developer/api-explorer to examine if Report.Queue Method succeeds. A sample payload is as below:

{ "reportDescription":{ "reportSuiteID":"AssetsTesting", "dateFrom":"2015-03-16", "dateTo":"2016-03-16", "metrics":[ { "id":"event8" } ], "elements":[ { "id":"listvar1", "top":"50000" } ] } }

View solution in original post

0 Replies
Olivier_Blonste
Level 2
Level 2

Thanks Gaurav,

So it looks like Assets reporting (in adobe analytics) is only available for AEM 6.2 and 6.1 but not for AEM 6.0, am I correct?

Thanks,
Olivier

ukgaurav
Employee
Employee

Asset reporting (not analytics one) is available in 6.0 onwards

Asset Insight which is new feature in 6.2 is the one you must be exploring about.

-Gaurav

Olivier_Blonste
Level 2
Level 2

Ok...in Adobe Analytics (admin), it's called AEM Assets Reporting. From what I understand, it sounds like it's only available for clients using AEM 6.2, right?

Thanks,

Olivier

ukgaurav
Employee
Employee

Asset Insight (https://docs.adobe.com/docs/en/aem/6-2/author/assets/managing-assets-touch-ui/asset-insights.html) which works with Adobe Analytics is available in 6.2. Asset reporting which is available OOTB in AEM since 6.0 has usual reports like Asset Added, Published etc.

Thanks,

Gaurav

subaht78726383
Level 1
Level 1

I am trying to configure asset insights.

  1. Asset Insight configuration for reportsuite inAEM has been done ,  so that it can fetch data.Page tracker code has been embedded in the webpage.           

            I have used following variables to track data: 

                event7- Asset Click Success Event Name

                eVar3 - Asset click evar

                event8-Asset Impression

                list1 :Asset Impression list var

        Above has been enabled in report suite as well.

 

    2. Data is being tracked in analytics .

 

    But AEM Assets Reporting is disabled in Analytics, how can that be enabled ? Also ,when "Dam Asset Performance Report Synch Job” runs, it gives me the below error:

*ERROR* [sling-default-109-com.day.cq.dam.performance.internal.AssetPerformanceReportSyncJob.5352] com.day.cq.dam.performance.internal.AssetPerformanceReportSyncJob Exception while syncing the report from SC : 

com.day.cq.analytics.sitecatalyst.SitecatalystException: Failed to queue the report

    at com.day.cq.dam.performance.internal.AssetPerformanceDataProviderImpl.getReport(AssetPerformanceDataProviderImpl.java:174)

    at com.day.cq.dam.performance.internal.AssetPerformanceDataProviderImpl.getAssetPerformanceImpressionReport(AssetPerformanceDataProviderImpl.java:109)

    at com.day.cq.dam.performance.internal.AssetPerformanceReportSyncJob.syncAssetsImpressionReport(AssetPerformanceReportSyncJob.java:104)

    at com.day.cq.dam.performance.internal.AssetPerformanceReportSyncJob.run(AssetPerformanceReportSyncJob.java:73)

    at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:118)

    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745).

How can I get the report in AEM, so that I get to see the insights data for assets in AEM?

ashishc8696822
Correct answer by
Level 2
Level 2

>>  But AEM Assets Reporting is disabled in Analytics, how can that be enabled ?

AEM Assets Reporting need not be enabled for 6.2 GA

 

>> 2. Data is being tracked in analytics .

>> Also ,when "Dam Asset Performance Report Synch Job” runs, it gives me the below error:

I assume you are able to see the Impression and Click events on Analytics. If yes, then the error while running the report sync job is most likely an issue with Sitecatalyst servers. I'd recommend using https://marketing.adobe.com/developer/api-explorer to examine if Report.Queue Method succeeds. A sample payload is as below:

{ "reportDescription":{ "reportSuiteID":"AssetsTesting", "dateFrom":"2015-03-16", "dateTo":"2016-03-16", "metrics":[ { "id":"event8" } ], "elements":[ { "id":"listvar1", "top":"50000" } ] } }

View solution in original post

subaht78726383
Level 1
Level 1

Thanks, it worked. Actually I was using list1 to fetch the report, when I changed it to listVar1 , it worked fine.

I am currently using a standalone page and assets from aem.

Question: But ,if I am using aem pages, then each image/video component has to be customised to include the embed code (eg data-trackable, data-aem-asset-id, onload attributes) , so that data can be tracked in sitecatalyst ? or is there any other way?

eg, <a
                    href="http://www.adobe.com"
                    onclick="assetAnalytics.core.assetClicked(this);return false">
                    <img
                        src="http://localhost:4502/content/dam/geometrixx-tours/6.jpg"
                        alt="6.jpg"
                        data-aem-asset-id="c4ae1d08-4934-4394-95d1-735eca2af5ad"
                        data-trackable=true
                        onload=assetAnalytics.core.assetLoaded(this)>
                </a>

ashishc8696822
Level 2
Level 2

subaht78726383 wrote...

Question: But ,if I am using aem pages, then each image/video component has to be customised to include the embed code (eg data-trackable, data-aem-asset-id, onload attributes) , so that data can be tracked in sitecatalyst ? or is there any other way?

In the Asset Insights Foundations implementation (available in 6.2 GA), any webpage which can be altered to include:
 - asset-id + trackable data attributes for <img>
 - onload + onclick handlers for <img> and parent <a> tags
 - appmeasurement.js and pagetracker.js for the webpage
 - initialization of pagetracker.js for the webpage
can be used with Asset Insights!

If the AEM Site webpage can be altered to include all of the above, then yes, Asset Insights will work.

An 'easy-integration' path for AEM Sites is on engineering road-map for future releases - wherein all aforementioned changes will be UI centric and will require much less integration effort (i.e, selecting a few checkboxes/radio-buttons while authoring the AEM Site).

Stay tuned 🙂