I need to display the following text in a web part:
Your profile has been viewed by X people in the last 90 days
How can I determine the value of "X" using JSOM?
If this isn't possible, I probably could get away with changing the web part to display the following text instead:
X people have searched for your profile in the last 90 days
In this instance, I'd need a way to determine the number of searches for a specific string (e.g. "John Doe") in a set period of time using JSOM. Obviously, this method has some flaws as it doesn't take into consideration phonetic name searches (i.e. "Nick vs Nicholas", partial name searches or actual click-throughs) -- which is why it's my second preference.
Ideas anyone?