Skip to main content
Skip table of contents

Is Viewtracker - Analytics for Confluence compatible with Scroll Viewport?

Yes, Viewtracker is fully compatible with Scroll Viewport since Viewtracker version 5.5.1 and Scroll Viewport version 2.12.1. See Scroll Viewport Tracking

Viewtracker DC is compatible with the default Viewport templates, but we can not support any customizations of Viewport.

What if Viewtracker doesn't track?

First of all, make sure if you are using a default template or a customized template in Viewport. If you are using a customized layout and the tracking doesn't work, please make sure that you have the following statement in your HTML head:

  	## Includes web panels from location 'k15t.scroll-viewport.viewcontent'

Full HTML head:

<!DOCTYPE html>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>$page.title - $</title>
  	## Includes web panels from location 'k15t.scroll-viewport.viewcontent'


  ## The following jQuery script was provided by K15t as a workaround to solve the problem where links within an Include page do not work
  ## when viewing the page containing the incluide, in a Viewport. See
  ## This workaround only seems to work when you create the link using an Anchor macro.
    $( document ).ready(function() {
        var link =\w*)$/)[1] 
        var anchor = $('a[href$="'+link+'"]') 
        anchor.attr('href', '#'+link) = link 


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.