Skip to content

[Bug] No Data screen for SPAs contains hidden space in variables #21594

@9joshua

Description

@9joshua

What happened?

The Tag Manager variables included in the SPA tab of the No Data Screen, such as {{PageTitle}}, contain an invisible space between the first two curly brackets. If this text is copied and pasted into a Tag, the character remains and will break tracking...
Screenshot from 2023-11-24 20-22-21

Screenshot from 2023-11-24 20-23-08

image

Screenshot from 2023-11-24 20-51-49

What should happen?

Remove the invisible characters so that cutting and pasting the variables works as expected.

How can this be reproduced?

  1. Create a new website
  2. Go to the No Data Screen
  3. Select the SPA tab
  4. Copy and pasted any {{}} variable into an IDE

Matomo major version

Matomo 5

Matomo minor or patch Version

5.0.0-rc8

PHP version

8

Server operating system

NA

What browsers are you seeing the problem on?

No response

Computer operating system

NA

Relevant log output

No response

Validations

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions