Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Analytics › Analytics is showing wrong country. Please help fix.
- This topic has 9 replies, 2 voices, and was last updated 3 years, 10 months ago by eritechdeveloper.
- AuthorPosts
- May 11, 2020 at 1:38 am #129317eritechdeveloperParticipant
- May 12, 2020 at 8:28 pm #130101SushobhanKeymaster
Hi,
Thanks for getting in touch with us!
It seems your Google Map Key is not authorized to use for this domain. You can check this error in your browser console (see here- https://imgur.com/FE7z5LA)
That’s why it showing dummy results.
Thank You! - May 12, 2020 at 9:52 pm #130145eritechdeveloperParticipant
Ok where do I update the API key to make this work, because the Google API key in the Geo search is working fine?
- May 13, 2020 at 8:45 am #130288SushobhanKeymaster
Hi,
Google offers different API for different services. First, make sure you have added/enabled Google Maps API for your project. If it’s already enabled, then you will need to adjust the ‘API Restriction’ field. Read more on this from here- https://wordpress.org/support/topic/referer-not-allowed-map-error/
Thank You! - May 15, 2020 at 6:43 pm #131407eritechdeveloperParticipant
Will try this and let you know. thanks
- May 15, 2020 at 7:00 pm #131409eritechdeveloperParticipant
Hi Buddy,
Thanks, but still not working, where do I have to input this API Key? because if the API key is not working the other maps on the website will not work, but as you will see in the admin dashboard the API is working fine buddy.
Please take another look, thanks in advance.
- May 17, 2020 at 2:21 pm #132152SushobhanKeymaster
Where you can see that in the “admin dashboard”?
- May 17, 2020 at 4:43 pm #132176eritechdeveloperParticipant
Hey buddy, I saw it in settings -> Geo location tab. See picture below.
<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
- May 18, 2020 at 8:56 am #132402SushobhanKeymaster
Hi,
Add the following line in your child themes functions.php or using code snippet plugin and wait for 7days-
add_filter( 'wcfm_is_allow_wc_geolocate', '__return_false' );
Thank You! - May 19, 2020 at 3:11 am #132834eritechdeveloperParticipant
ok thanks, what was the problem?
- AuthorPosts
- You must be logged in to reply to this topic.