Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5712

Issues with campaign handling

$
0
0

Hello and Happy New Year!

I have an issue with Matomo on a single page application website related to campaign tracking.

Here is the situation:

  1. I land on the site with correct and valid campaign parameters. I see the the correct cookies are created and specifically, pk_ref is set. I can navigate around and my actions are bound to a single visit and correctly recorded in Matomo.

  2. Within the same 30 minute timeframe, I revisit the site with a different campaign name. The first page view is correctly registered with these new campaign details. However, the second page view of this “visit” generates a new visit reverting back to use the values stored in the pk_ref cookie from the first visit.

I have tried a multitude of ways to overcome this (I am using the Javascript tracker) ~ and I am not a programmer :frowning: I have conducted many searches in this forum and beyond and this is the same issue as mentioned here: https://github.com/matomo-org/matomo/issues/12218#issuecomment-339364512

Ideally, the behaviour I would expect is this:

The value stored in the pk_ref cookie should be from the latest visit including the current active visit.

The campaign details of the current active visit should never be overwritten with values from the cookie

Has anyone had any experience of this? Any help would be greatly appreciated.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5712

Trending Articles