If you are seeing this message, our style sheet has failed to load. Please try each of the following steps, in order, to fix it:

1) Clear your browser's cache and refresh the page.

2) Wait a few minutes, clear the cache again and refresh (one of our CDN servers may have had a short temporary outage).

3) Try accessing our site from another web browser on the same computer, AND from another computer on the same network. If either of those fixes it, you likely have software such as ad-block or Ghostery installed on the affected browser/computer. Please disable those to see if that fixes the issue.

4) Open a terminal window and type "ping cdn.staticstuff.net". Send us an email with the result.



Forums » Developers



Generating API call to track searches per page on today's date

I'd like to create an API call that shows me top 20 pages and a secondary call to get the top search terms for each of those pages.

The first is easy: &limit=20&type=searches&date=today

How do I construct the call for the second? I've tried passing in href and title and I'm not nailing it yet.

Thanks.

Posted Sat Apr 9 2011 3:39pm by soundspike


Oops, that string is obviously to top searches.

Top pages is this: &limit=20&type=pages&date=today

Posted Sat Apr 9 2011 5:47pm by soundspike


You would have to use type=segmentation to get data for each page via the API, but the problem is that you'd have to make a call for each individual page. Since we don't directly track this data, segmentation is the only way to get it.

The call for an individual page would be something like type=segmentation&href=/the/page&segments=searches

Posted Mon Apr 11 2011 10:22am by Your Friendly Clicky Admin



Reply to this discussion

You must be logged in to your account to post!