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

Add getCrossDomainLinkingUrlParameter() to allow users to add pk_vid to dynamic links. #12603

Merged
merged 2 commits into from Mar 8, 2018

Conversation

diosmosis
Copy link
Member

Changes:

  • Add new getCrossDomainLinkingUrlParameter() method to JS tracker which returns the pk_vid=... string that can be directly appended to the query string on URLs.
  • Added the ability to mock the now value in JS tracker tests.

Fixes #12602

@diosmosis diosmosis force-pushed the 12602-pk_vid-param-get branch 2 times, most recently from 01bdfc2 to 4e70434 Compare March 7, 2018 03:34
@tsteur
Copy link
Member

tsteur commented Mar 7, 2018

Looks good 👍

@mattab
Copy link
Member

mattab commented Mar 8, 2018

looks good! Feedback:

  • Build is failing (integration test) with minified /piwik.js is out of date, please re-generate the minified files using instructions in /js/README
  • Some JS tests are failing for some reason: https://travis-ci.org/matomo-org/matomo/jobs/350138667
  • Could you also prepare the FAQ/Dev docs updates?

@mattab mattab added this to the 3.3.1 milestone Mar 8, 2018
@diosmosis
Copy link
Member Author

@mattab the next build should pass.

@mattab mattab merged commit d9e8932 into 3.x-dev Mar 8, 2018
@mattab mattab deleted the 12602-pk_vid-param-get branch March 8, 2018 22:56
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
…to dynamic links. (matomo-org#12603)

* Add getCrossDomainLinkingUrlParameter() to allow users to add pk_vid query param to dynamic links themselves.

* Update piwik JS files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants