allow multiple calls to enableLinkTracking by Findus23 · Pull Request #17101 · matomo-org/matomo · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow multiple calls to enableLinkTracking #17101

Merged
merged 2 commits into from
Jan 18, 2021
Merged

Conversation

Findus23
Copy link
Member

I am not sure if I understand the issue correctly, but I think it should be possible to call enableLinkTracking multiple times.

reported in https://forum.matomo.org/t/enablelinktracking-re-scan-dom-after-content-changes/40269

Review

  • Functional review done
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done see checklist
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

@Findus23 Findus23 added the Needs Review PRs that need a code review label Jan 15, 2021
@diosmosis
Copy link
Member

LGTM, would be good to have a test for it in tests/javascript/index.php

@tsteur
Copy link
Member

tsteur commented Jan 17, 2021

build js

@tsteur
Copy link
Member

tsteur commented Jan 17, 2021

👍 indeed it can be called multiple times

@Findus23
Copy link
Member Author

It would be great if someone else could create the test as I don't have a great overview over tests/javascript/index.php and not enough time to more closely look into it.

@tsteur
Copy link
Member

tsteur commented Jan 18, 2021

@Findus23 I reckon it's fine it wouldn't need a test and be quite hard to test actually

@tsteur tsteur merged commit 09df90c into 4.x-dev Jan 18, 2021
@tsteur tsteur deleted the multiple-enableLinkTracking branch January 18, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants