Handling virtual page changes

If your site "changes pages" without actually going to a new URL, using, for example, AJAX, you can inform Chartbeat about these new pages by using the virtualPage() function.

For example, if the page the user is loading is http://example.com/page1, but the page changes to the virtual page http://example.com/page2, you should call this:

      sections: "New Section 1, New Section 2",
      authors: "New Author",
      path: "/newpath",
      title: "New Title"

For more information on Virtual Page Changes check out our Getting Started Guide.

Here are some ways to get in touch.