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

Flag-Symbol missing using PHP-Tracker #8359

Closed
typoworx-de opened this issue Jul 16, 2015 · 3 comments
Closed

Flag-Symbol missing using PHP-Tracker #8359

typoworx-de opened this issue Jul 16, 2015 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@typoworx-de
Copy link

I've been trying to use the PHP-Tracker API (with API-Key usage) and noticed that all flag-symbols are missing (replaced by question-mark icon). The mouseover correctly shows the country for all incoming tracks and PHP-GeoDB is correctly setup using maxMind GEO-DB. Also the live-tracking map correctly shows the visits for the countries.

All other Piwik-Accounts using the usual JS-Tracking are working fine and there are no problems with the flag-symbol shown in the tracking-stats.

Are there any suggestions?

Btw. is it possible to combine JS and PHP-Tracking f.e. to track special events using JS on client-side or would this lead to double-tracked visits?

Best regard
Gabriel

@mattab
Copy link
Member

mattab commented Jul 22, 2015

Hi @typoworx-de

can you paste here the output of Live.getLastVisitsDetails API for one of your PHP tracked visitor? Especially interested in the countryCode attribute and whether it's set correctly.

Btw. is it possible to combine JS and PHP-Tracking f.e. to track special events using JS on client-side or would this lead to double-tracked visits?

It would lead to double tracked visits.

@mattab
Copy link
Member

mattab commented Sep 18, 2015

@typoworx-de please re-open if you still have issue with latest Piwik beta: piwik.org/faq/how-to-update/faq_159/

@mattab mattab closed this as completed Sep 18, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 18, 2015
@schelmo
Copy link

schelmo commented May 22, 2022

For the people who have also this problem:
the country code must be lowercase
as mentioned here:
https://developer.matomo.org/api-reference/tracking-api#other-parameters-require-authentication-via-token_auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants