Skip to content

Commit

Permalink
fix: missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 2, 2024
1 parent e7dcc48 commit 2992d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/040.matomo.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineNuxtPlugin((nuxtApp) => {
_paq.push(['setCustomUrl', to.fullPath])
_paq.push(['setDocumentTitle', document.title])

loadAbTesting()
loadAbTesting(_paq)

_paq.push(['trackPageView'])
_paq.push(['enableLinkTracking'])
Expand All @@ -32,7 +32,7 @@ export default defineNuxtPlugin((nuxtApp) => {
let hasAbTestingLoaded = false

// TODO: A/B Test prices in USD
function loadAbTesting() {
function loadAbTesting(_paq) {

if (hasAbTestingLoaded) {
return
Expand Down

0 comments on commit 2992d3e

Please sign in to comment.