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

Generated tracking code should init window._paq and only use async #16190

Merged
merged 4 commits into from Jul 8, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jul 7, 2020

refs #16189
fix #16055

@Findus23 can you have a look?

I'm still using var _paq to keep the tracking code short. As otherwise would need to prefix every _paq.push code but could also instead prefix every variable with _paq. Once merged will need to update the docs on the developer site to use same style. Tested it in IE6 and it worked for me.

refs #13674

@tsteur tsteur added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Jul 7, 2020
@tsteur tsteur added this to the 3.14.0 milestone Jul 7, 2020
Copy link
Member

@Findus23 Findus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I would mention it in the changelog as it is kind of a breaking change (or at least makes people wonder if their old tracking code is "broken").

@tsteur tsteur merged commit 20aa972 into 3.x-dev Jul 8, 2020
@tsteur tsteur deleted the m16189 branch July 8, 2020 20:53
@tsteur tsteur mentioned this pull request Jul 8, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
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 not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants