Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Instant indexing allows you to instantly index pages when they are visited by your users. It is Instant indexing uses a Javascript code snippet that runs when a page is loaded , which and sends a ping to our crawlers crawler instructing it to re- index the webpage.

To set up instant indexing on your website add the instant indexing snippet, mention including your Project Account and Collection details and add the code in the ID, to the <head> section of your website.

Once installed, your site the ping-back will be fired on page load and new content will be added and updated automatically.

Code Block
<script type="text/javascript">
  var _sj = _sj || [];
  _sj.push(['project', 'ENTER YOUR ACCOUNT ID']);
  _sj.push(['collection', 'ENTER YOUR COLLECTION ID']);
  (function () {
    var sj = document.createElement('script');
    sj.type = 'text/javascript';
    sj.async = true;
    sj.src = '//cdn.sajari.com/js/sj.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(sj, s);
  })();
</script>

...

  • Pages are only updated when certain fields are updated (title, description, keywords, modifiedDate).

  • The pages must be visited (i.e. the page and the script are loaded) within 30 minutes of updating or being added for it to be indexed.