<p dir="auto">The latest stable release of Next is 4.2.3, but 3.2.3 is listed as the latest release in <a href="https://github.com/zeit/next.js/releases">https://github.com/zeit/next.js/releases</a></p>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The latest release on the releases page should be 4.2.3</p>


<h2 dir="auto">Current Behavior</h2>
<p dir="auto"><a href="https://github.com/zeit/next.js/releases">The latest release on the releases page is 3.2.3</a></p>
<p dir="auto">It looks like maybe the security release was backported which was why the new version was released.</p>


<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<p dir="auto">N/A</p>
<h2 dir="auto">Context</h2>


<p dir="auto">I was upgrading next.js in my package.json and needed to know what number to upgrade it to.</p>
<h2 dir="auto">Your Environment</h2>
<p dir="auto">N/A</p>
<p dir="auto">Following the instructions in README to listen to route events doesn't work</p>


<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>


<p dir="auto">It should be called and I should see the console logs</p>
<h2 dir="auto">Current Behavior</h2>


<p dir="auto">Nothing</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li>Add the code (either in pages/*.js or pages/_document.js)</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// onRouteChangeStart(url) - Fires when a route starts to change
Router.onRouteChangeStart = (url) =&gt; {
  console.log('App is changing to: ', url)
}

// onRouteChangeComplete(url) - Fires when a route changed completely
Router.onRouteChangeComplete = (url) =&gt; {
  console.log('App has changed to: ', url)
}

// onRouteChangeError(err, url) - Fires when there's an error when changing routes
Router.onRouteChangeError = (err, url) =&gt; {
  console.log('App has error when changing: ', err, url)
}

// onBeforeHistoryChange(url) - Fires just before changing the browser's history
Router.onBeforeHistoryChange = (url) =&gt; {
  console.log('App is changing to before history change: ', err, url)
}

// onAppUpdated(nextRoute) - Fires when switching pages and there's a new version of the app
Router.onAppUpdated = (nextRoute) =&gt; {
  console.log('App is updating to: ', nextRoute)
}"><pre class="notranslate"><code class="notranslate">// onRouteChangeStart(url) - Fires when a route starts to change
Router.onRouteChangeStart = (url) =&gt; {
  console.log('App is changing to: ', url)
}

// onRouteChangeComplete(url) - Fires when a route changed completely
Router.onRouteChangeComplete = (url) =&gt; {
  console.log('App has changed to: ', url)
}

// onRouteChangeError(err, url) - Fires when there's an error when changing routes
Router.onRouteChangeError = (err, url) =&gt; {
  console.log('App has error when changing: ', err, url)
}

// onBeforeHistoryChange(url) - Fires just before changing the browser's history
Router.onBeforeHistoryChange = (url) =&gt; {
  console.log('App is changing to before history change: ', err, url)
}

// onAppUpdated(nextRoute) - Fires when switching pages and there's a new version of the app
Router.onAppUpdated = (nextRoute) =&gt; {
  console.log('App is updating to: ', nextRoute)
}
</code></pre></div>
<ol start="2" dir="auto">
<li>Refresh the page, and click around and add some Router.push events</li>
<li>Nothing in inspector</li>
<li>??</li>
</ol>
<h2 dir="auto">Context</h2>


<p dir="auto">I can't use this to track pageviews for my in-house analytics system.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>2.4.6</td>
</tr>
<tr>
<td>node</td>
<td>8.1.3</td>
</tr>
<tr>
<td>OS</td>
<td>10.12.5</td>
</tr>
<tr>
<td>browser</td>
<td>chrome 60.0.3112.72 (Official Build) beta (64-bit)</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>