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

How to Display Visitors country name with Flag in Magento #10359

Closed
gowthaman10 opened this issue Aug 2, 2016 · 2 comments
Closed

How to Display Visitors country name with Flag in Magento #10359

gowthaman10 opened this issue Aug 2, 2016 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@gowthaman10
Copy link

Hi Guys ,

I am new to magento, actually i want to display the visitors country with the flag , I tried many API but couldn't get the right one .

@tsteur
Copy link
Member

tsteur commented Aug 8, 2016

Can you give us a bit more details? Are you developing a magento plugin that integrates Piwik? How are you requesting data from Piwik?

@mattab
Copy link
Member

mattab commented Nov 11, 2016

@gowthaman10 - you're probably looking for the Metadata API of the UserCountry plugin called getCountry: http://developer.piwik.org/api-reference/reporting-api#UserCountry and see: http://developer.piwik.org/api-reference/reporting-api-metadata

But maybe it's easier to simply embed the report in your app with an iframe: http://piwik.org/docs/embed-piwik-report/

@mattab mattab closed this as completed Nov 11, 2016
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Nov 11, 2016
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