Hello,
I installed Piwik PRO on a site that already has Matomo installed. The owner of the site wants to keep Matomo for the moment, while testing Piwik PRO.
I’m used to this and always choose the first method described here: Can I use Piwik PRO and Matomo at the same time? | Piwik PRO help center.
I’m tracking events correctly with this kind of code:
<script>
_ppas.push(["trackEvent", "Clics dans le menu", {{ element.textContent }}, {{ Click Url }}]);
</script>
However, my goal tracking tags are not working. For example, I have a goal that should be tracked when the visitor clicks on a specific external link. While I can see clicks on this link in the external links reports, the objective has 0 conversion.
I’m using this code for this objective:
<script>
_ppas.push(["trackGoal", d293dfad-ab73-45a3-8493-597d82d4a4dc, {"dimension1": {{ element.textContent }}}]);
</script>
I have 2 hypotheses at the moment:
- My custom code tag is wrong
- Any chance it has something to do with this: Stg.click & stg.capturingClick not capturing the same element?
The debug shows that the tag is triggered, so no problem with the trigger.
Thank you!