Page 1 of 1

Heatmaps

Posted: Wed Jun 01, 2016 9:06 am
by straightlight
This contribution allows merchants to show their heatmaps by simply enabling the module and by entering their generated API key from Google. The heatmaps template can appear selectively based on the route in the admin.

Contribution: http://www.opencart.com/index.php?route ... n_id=26813

Re: Heatmaps

Posted: Wed Jun 01, 2016 10:37 am
by moneycarlo
hmm..well this just has awesomeness written all over it! will need to check it out.
Thanks!

Re: Heatmaps

Posted: Wed Jun 01, 2016 3:19 pm
by thbr02
I found an error at admin/controller/module/heatmaps.php. At line 114

Code: Select all

$this->response->setOutput($this->load->view('module/heatmaps', $data));
has to be changed to

Code: Select all

$this->response->setOutput($this->load->view('module/heatmaps.tpl', $data));

Re: Heatmaps

Posted: Wed Jun 01, 2016 7:00 pm
by straightlight
That is not a bug. This line simply demonstrates that you do not use OC v2.2.0.0 release. However, I will add a validation to it.

Re: Heatmaps

Posted: Wed Jun 01, 2016 7:52 pm
by thbr02
straightlight wrote:That is not a bug. This line simply demonstrates that you do not use OC v2.2.0.0 release. However, I will add a validation to it.
But isn't the extension for 2.0.0.0-2.2.0.0 ?

Re: Heatmaps

Posted: Wed Jun 01, 2016 7:54 pm
by straightlight
Yes, that is correct. Although, on the above, you reported this issue as being a bug which isn't in this case.

Re: Heatmaps

Posted: Wed Jun 01, 2016 8:29 pm
by thbr02
I'm sorry, thought I would be helpful reporting this, but never mind...

Re: Heatmaps

Posted: Wed Jun 01, 2016 8:51 pm
by straightlight
Still appreciated the fact you reported a tweaking solution. :)

Re: Heatmaps API, Where do I get it?

Posted: Thu Jul 14, 2016 8:22 am
by codywood
How can I find this google API?

Re: Heatmaps

Posted: Thu Jul 14, 2016 6:17 pm
by straightlight

Re: Heatmaps

Posted: Fri Jul 15, 2016 11:10 am
by codywood
Maybe I wasn't clear. I have a Google Webmaster and analytics account and I assume that the API I would use would come from somewhere in this account. Is this correct?

Can you give me perhaps an exact URL or a better description on how I can find the API?

I'm curious also why the extension allows for more than one site map to be created. Is one needed along with an API for every webpage that you want to map?

And does this extension work with multi store?

Thank you

Re: Heatmaps

Posted: Fri Jul 15, 2016 6:26 pm
by straightlight
Maybe I wasn't clear. I have a Google Webmaster and analytics account and I assume that the API I would use would come from somewhere in this account. Is this correct?
Google API does work in relation with others of their API from the same system but your statement is incorrect. Google Heatmaps still needs to be an initiated API.
Can you give me perhaps an exact URL or a better description on how I can find the API?
The provided link above is their official API page for Google Heatmaps API.
I'm curious also why the extension allows for more than one site map to be created. Is one needed along with an API for every webpage that you want to map?
If you're referring to an already existing extension on Opencart, you'd have to ask this question to the heatmaps extension developer.
And does this extension work with multi store?
As well as asking this question to the extension developer.

Re: Heatmaps

Posted: Thu Aug 11, 2016 3:08 am
by vynnus
Hi,

just uploaded all files but I don't see the module on module's list.
Here's OC 2.0.1.1

Re: Heatmaps

Posted: Tue Aug 23, 2016 10:02 am
by codywood
Sorry, I'm completely lost. I have this extension installed:
http://www.opencart.com/index.php?route ... n_id=26813

The settings asks for the following:

(1) Module Name
(2) API Key

I have no idea what to put in these fields. Can you help?

How do I get the API Key? From my Google Analytics account or elsewhere?

Do you create more than one instance? Since I can name the modules I assume I can create more than one. In any case, after its created with the API Key do I load it from the Layouts page?

Like I said, I'm completely lost on how to setup and use this extension.

Thanks.

Re: Heatmaps

Posted: Tue Aug 30, 2016 3:38 am
by codywood
CAN ANYONE HELP ON HOW TO OBTAIN THE NEEDED GOOGLE API FOR THIS HEATMAP.

I have search and search, including on google and can't get instructions. Anyone know how, or where this API is supposed to come from?

Re: Heatmaps

Posted: Tue Aug 30, 2016 3:55 am
by OSWorX
codywood wrote:CAN ANYONE HELP ON HOW TO OBTAIN THE NEEDED GOOGLE API FOR THIS HEATMAP.

I have search and search, including on google and can't get instructions. Anyone know how, or where this API is supposed to come from?
Use this link: https://console.developers.google.com/
or start here (click on the button 'Request Key' under the sample code): https://developers.google.com/maps/docu ... avascript/