Analytics scripts are injected to page multiple times

Steps to Reproduce

Steps:

  • Navigate to reittiopas.hsl.fi

  • Open dev tools (F12)

  • Open elements viewer

  • Change to Favorites tab

  • There will be additional script tags at the end of html body and beginning of head

  • Do more actions on the site to get more duplicates

Description

Some initialization scripts for analytics gathering are duplicated whenever actions are made on the page.

Activity

Show:
Tarmo Asikainen
July 7, 2020, 3:02 PM

The problem with init script duplication seems to be fixed now in production. There is still a small script added for every event but it seems to be related to how the events in matomo are implemented, should not be a problem.

Won't Do
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Tarmo Asikainen

Reporter

Tarmo Asikainen

Priority

Medium

Components