Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hi, how would I go about integrating livehelperchat with Google Analytics events so that (e.g.) when the user clicks the 'Start Chat' button, an event is recorded within analytics?
Many thanks
Offline
Could you give me sample how adsense code should look like?
But it's perfectly doable
2014-02-25 16:26 GMT+02:00 <jav...***.com>:
Hi, how would I go about integrating livehelperchat with Google Analytics events so that (e.g.) when the user clicks the 'Start Chat' button, an event is recorded within analytics?
Many thanks
Offline
Thanks so much for getting back to me
From what I read on the google analytics site at:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#SettingUpEventTracking
the template to use for tracking clickable links is _trackEvent(category, action, opt_label, opt_value, opt_noninteraction)
...so maybe it would need customisation of the 'Send' button click link with something like:
<a href="#" onClick="_gaq.push(['_trackEvent', 'Livechat', 'StartChat', 'LiveHelperChat', '1']);">Send</a>
...is this possible?
Thank you
On Tuesday, February 25, 2014 2:26:39 PM UTC, Robotics445 wrote:Hi, how would I go about integrating livehelperchat with Google Analytics events so that (e.g.) when the user clicks the 'Start Chat' button, an event is recorded within analytics?
Many thanks
Offline
Hi, any more thoughts on how to implement this much appreciated
Thanks
Offline
Hi,
http://livehelperchat.com/integration-with-google-analytics-event-tracking-273a.html
Related commit
https://github.com/LiveHelperChat/livehelperchat/commit/e70c564c39d6519aa66501d1f71ef7e73b8609ed
2014-02-27 12:04 GMT+02:00 Stewart Robertson <jav...***.com>:
Offline
Wow, this is ace!!...gonna try this out, thank you so much!
Offline
Hi, I've tried using the following code in our header file:
<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};
LHCChatOptions.callback = {start_chat_cb:function(type){
_gaq.push(['_trackEvent', 'LiveHelperChat', 'StartChat', type]);
}}
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var refferer = (document.referrer) ? encodeURIComponent(document.referrer) : '';
var location = (document.location) ? encodeURIComponent(document.location) : '';
po.src = 'http://rehabguide.co.uk/livechat/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/1?r='+refferer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
...but it stops the livechat widget from appearing at all, have I intergrated the event tracking code correctly?
Thanks
Offline
Sorry, without page to see where code is embedded i do not know.
2014-03-06 11:28 GMT+02:00 Stewart Robertson <jav...***.com>:
Offline
Hi Remigijus, sorry, the page is at http://www.rehabguide.co.uk, wordpress site, I've added the code to the header.php file. Really appreciate your guidance. Thank you.
Offline
I do not see callback there at the moment,
2014-03-06 11:49 GMT+02:00 Stewart Robertson <jav...***.com>:
Offline
Apologies it is now on there. Thanks
Offline
Please add ";" after }}
}};(function() {
2014-03-06 12:54 GMT+02:00 Stewart Robertson <jav...***.com>:
Offline
Superb! Now working....thank you so much
Offline
Hi Remigijus,Is there a way I can update this event tracking code to track when a user submits an *offline* email form?
With many thanks,
- Stewart
Offline
Hi,
There is no such event, but if you need one, you can fill github feature request.
Offline
hi remdex, since updating to latest livechat version, my admin home page no longer shows current chats, menu options, etc:
https://dl.dropboxusercontent.com/u/90534254/Temp/LivechatBlankAdminScreen.JPG
Previous version was 1.86.
Is this normal? How would i show the main admin screen again? Any ideas what files may be affected or how to resolve pls?
Thanks again
Offline
http://livehelperchat.com/during-some-action-app-returns-white-screen-what-to-do-215a.html
And try to follow B option of update.
http://livehelperchat.com/article/view/63
Also clear cache. But i ques if you have overridden some files, they were changed in recent versions. Especially page footer.
Offline
Thanks!...I will try these, what files involved in footer please?
Offline
http://livehelperchat.com/after-i-have-updated-to-1.96v-i-see-strange-variables-instead-of-chats-304a.html
Offline
hi Remdex, I've updated everything as per version B instructions, footer file looks ok.
Error log:
https://dl.dropboxusercontent.com/u/90534254/Temp/RHG_LivechatErrorLog.txt
Any ideas what I could try now?
Thanks
On 3 July 2014 11:56, Remigijus Kiminas <rem...***.com> wrote:
Offline
Just create a fresh copy of this "extension/unbrand/design/unbrandtheme/tpl/pagelayouts/parts/page_footer.tpl.php"
copy it from defaulttheme and then unbrand. Or you can just remove it.
Also you can try to disable unbrand extension as a whole to see does it helps.
Offline
Thank you! I've disabled custom theme, and updated missing files, how does this log look:
https://dl.dropboxusercontent.com/u/90534254/Temp/RHG_LivechatErrorLog2.txt
...anything else I need to do?
Thanks
Offline
It should be ok. Anyway really without personal look i don't know. Try just completely change desgn folder. Then definetely all will work.
Offline
Hi, this is what I see,
https://dl.dropboxusercontent.com/u/90534254/Temp/2014-07-03%2013_54_13-Live%20Helper%20Chat%20-%20live%20support%20-%20Waterfox.png
Will the areas for closed and pending chats return when chats come in?
Also, any way to export email addresses of users out of livehelperchat in bulk?
With thanks
Offline
Hi,
Yes areas returns if there is some data.
No way to export, but you can fill github feature request if you want it.
Offline