Preview:
function() {
  var counterKey = 'gtmPageViewCounter';
  var pageViewCount = sessionStorage.getItem(counterKey);
  if (pageViewCount === null) {
    pageViewCount = 1;
  } else {
    pageViewCount = parseInt(pageViewCount, 10) + 1;
  }
  sessionStorage.setItem(counterKey, pageViewCount);
  return pageViewCount;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter