Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(doc-app): ensure only canonical paths get sent to Google Analytics#6402

Closed
petebacondarwin wants to merge 2 commits into
angular:masterfrom
petebacondarwin:doc-path-fix
Closed

chore(doc-app): ensure only canonical paths get sent to Google Analytics#6402
petebacondarwin wants to merge 2 commits into
angular:masterfrom
petebacondarwin:doc-path-fix

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

No description provided.

Before we were simply sending the current location, but multiple URLs map
to the same document.
Now, we use the canonical path of the current document if available and
fall back to the $location path otherwise.
Includes tests!!
@mary-poppins
Copy link
Copy Markdown

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6402)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

Currently there is only a minimal test spec in place. But this will now
be run as part of the test tasks.
@IgorMinar
Copy link
Copy Markdown
Contributor

if the tests pass then this LGTM

@petebacondarwin petebacondarwin deleted the doc-path-fix branch November 24, 2016 09:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants