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

Typo in examples of CRON command and JavaScript #19704

Closed
heurteph-ei opened this issue Sep 2, 2022 · 1 comment
Closed

Typo in examples of CRON command and JavaScript #19704

heurteph-ei opened this issue Sep 2, 2022 · 1 comment
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@heurteph-ei
Copy link

CRON

Page

https://matomo.org/faq/on-premise/how-to-configure-matomo-to-handle-unexpected-peak-in-traffic/

Problem

The CRON command will be triggered every hour instead of every minute

Then setup a cronjob that executes the command ./console queuedtracking:process every minute, for example:
1 * * * * php /path/to/matomo/console

JavaScript

Page

https://matomo.org/faq/tag-manager/data-layer-in-matomo-tag-manager/

Problem

Use of ‘’ chars (opening and closing quotes) instead of ' (simple quote):

<script>
var _mtm = _mtm || [];
_mtm.push({'weather': sunny});
</script>

And also there:

<script>
var _mtm = _mtm || [];
_mtm.push({'weather': MY CODE HERE TO GET THE DATA FROM A WEATHER API});
</script>

@sgiehl sgiehl added the c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. label Sep 2, 2022
@sgiehl
Copy link
Member

sgiehl commented Sep 2, 2022

Hi @heurteph-ei
Thanks for bringing that up. I've updated the pages.

@sgiehl sgiehl closed this as completed Sep 2, 2022
@sgiehl sgiehl added this to the 4.12.0 milestone Sep 2, 2022
@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

2 participants