mirror of
https://github.com/kremalicious/gatsby-plugin-matomo.git
synced 2024-12-22 17:23:23 +01:00
Add trackAllContentImpressions after trackPageView
This commit is contained in:
parent
92f37498ff
commit
1c3c458bb4
@ -37,6 +37,7 @@ exports.onRouteUpdate = ({ location, prevLocation }) => {
|
||||
_paq.push(['setDocumentTitle', title])
|
||||
_paq.push(['trackPageView'])
|
||||
_paq.push(['enableLinkTracking'])
|
||||
_paq.push(['trackAllContentImpressions'])
|
||||
|
||||
if (dev) {
|
||||
console.log(`[Matomo] Page view for: ${url} - ${title}`)
|
||||
|
Loading…
Reference in New Issue
Block a user