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

feat(analytics): add analytics id function #147

Merged
merged 4 commits into from
Jan 17, 2017
Merged

feat(analytics): add analytics id function #147

merged 4 commits into from
Jan 17, 2017

Conversation

simonsmh
Copy link
Contributor

@simonsmh simonsmh commented Jan 17, 2017

Please be sure to put the canary branch as the target for your pull request.

What kind of change does this PR introduce? (check one with "x")

  • Bug fix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

@simonsmh simonsmh changed the title feat(sponsor): Add Analytics for #75 feat(analytics): Add Analytics for #75 Jan 17, 2017
# Analytics Systems
# Available value:
# baidu | google
analytics:
Copy link
Owner

Choose a reason for hiding this comment

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

delete use field.
set null value of baidu_id & google_id

@@ -95,6 +95,29 @@
}
</script>

<% if(theme.analytics.use === 'baidu') { %>
Copy link
Owner

Choose a reason for hiding this comment

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

change this judgement.

Template:

<% if(theme.analytics.baidu_id){ %>
    baidu analytics code
<% } %>

@simonsmh
Copy link
Contributor Author

simonsmh commented Jan 17, 2017

Done. Please review. Thx.
BTW please update the doc for this pr.

@iblh
Copy link
Owner

iblh commented Jan 17, 2017

Alright, markdown docs
this is the docs, you can fork it, and PR if you will.

@neoFelhz neoFelhz merged commit 83249b3 into iblh:canary Jan 17, 2017
@simonsmh simonsmh deleted the canary branch January 17, 2017 10:30
@iblh iblh changed the title feat(analytics): Add Analytics for #75 feat(analytics): add analytics id function Jan 28, 2017
@iblh iblh mentioned this pull request Jan 28, 2017
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.

4 participants