Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Using SiteCat Analytics Data to Re-order the Popular blog links in website side navigation

Avatar

Level 2

We have a unique requirement to leverage SiteCat analytics data to understand the popularity of blog post, based on which the website side navigation displays the top visited blog post links in the popularity order.

The website is built on AEM. How can we achieve this? 

Perhaps the analytics reporting API can be leveraged to pull top 10 most viewed blog posts, and make the feed available to AEM....Now sure how to use this exactly...

Can you please throw some light on achieving this objective....

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Kamal,

Here's a great resource for understanding the Adobe Analytics reporting API: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started

I actually built a web page that taps into the reporting API here: http://sarfraternity.org/apiTesting/analytics-api/get-all.html

It's completely built in JavaScript, so you should be able to easily see all the code for how it was set up. You'll need a username, API Secret, Variable, Report Suite to get it working. I actually just tested it and noticed there's some kind of an error when hitting Display Report, so hold off for a bit.

 

With regards to setting things up in AEM, I'm unfortunately not going to be too much help here. But you should be able to leverage any of the languages listed here (https://marketing.adobe.com/developer/get-started/enterprise-api/c-report-status) then put that into it's own component in AEM. Sorry I'm not able to help much more. For that question, you may want to switch over to the AEM forum.

Eric

View solution in original post

3 Replies

Avatar

Employee

Hello Kamal,

Yes you can leverage Adobe Analytics Reporting API to get the most popular link (pageURL) for a time frame (say last week) which is segmented to only fetch blog data. Now make this call and import the data in any AEM page. And according to the ranking of the links you receive you can dynamically update the Blog links in the navigator.

Hope this helps!

Best,

Kartik Negi

Avatar

Level 2

Thank you Kartik. Please also help with the questions below.

Yes you can leverage Adobe Analytics Reporting API to get the most popular link (pageURL) for a time frame (say last week) which is segmented to only fetch blog data. Can you please help with the sample SiteCat reporting API code to get this data / HOW.

 Now make this call and import the data in any AEM page. Could you please help me with an example please using AEM / HOW.

And according to the ranking of the links you receive you can dynamically update the Blog links in the navigator. Can you please help me with an example please using AEM / HOW.

Avatar

Correct answer by
Employee Advisor

Hi Kamal,

Here's a great resource for understanding the Adobe Analytics reporting API: https://marketing.adobe.com/developer/documentation/analytics-reporting-1-4/get-started

I actually built a web page that taps into the reporting API here: http://sarfraternity.org/apiTesting/analytics-api/get-all.html

It's completely built in JavaScript, so you should be able to easily see all the code for how it was set up. You'll need a username, API Secret, Variable, Report Suite to get it working. I actually just tested it and noticed there's some kind of an error when hitting Display Report, so hold off for a bit.

 

With regards to setting things up in AEM, I'm unfortunately not going to be too much help here. But you should be able to leverage any of the languages listed here (https://marketing.adobe.com/developer/get-started/enterprise-api/c-report-status) then put that into it's own component in AEM. Sorry I'm not able to help much more. For that question, you may want to switch over to the AEM forum.

Eric