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

Avatar

Avatar

Vyom

Avatar

Vyom

Vyom

12-01-2017

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....

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ericmatisoff

Employee

Avatar

ericmatisoff

Employee

ericmatisoff
Employee

08-02-2017

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

Answers (2)

Answers (2)

Avatar

Avatar

Vyom

Avatar

Vyom

Vyom

13-01-2017

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

Avatar

kartikn97877766

Employee

Avatar

kartikn97877766

Employee

kartikn97877766
Employee

13-01-2017

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