Pageview tracking event works incorrectly

Description

Tracking call with event==pageview currently works incorrectly.
The event fires multiple times for each pageview and also fires on other actions like changing between "Near you" and "Favorites" tabs in the front page.
The event should fire once for each actual pageview. This could be whenever the url is updated.

Event can be observed from window.dataLayer

Also the url field always has value undefined, should be url of page that was loaded.

Acceptance Criteria

Pageview event is sent only on actual "page views" and contains correct url.

Assignee

Unassigned

Reporter

Tarmo Asikainen

More details from

None

Components

Priority

Medium

Epic Link

Story Points

None

Labels

None
Configure