Forums » Help & Troubleshooting



meteor js

Hi,

I made the same post to developers forum but this seems more active...

Has anyone used clicky for meteor (https://www.meteor.com/) applications?

Any guidance or tips will be much appreciated. I deployed one sample app with tracker code but I don't see anything logged.

Thanks

Posted Sun Aug 2 2015 7:56p by sahin***


Do you see nothing, or just very low numbers? With some single page apps, page navigation is simulated, so you will only get one "hit" per user visit, even if they visit many pages.

Posted Sun Aug 9 2015 6:49p by datamel***


Adding the Async Clicky code into the Template.mypage.onRender event did not work for me either. What did work was the following code (client-side only).

Meteor.startup(function () {
//Load and initialize Clicky
$.getScript('//static.getclicky.com/js', function(){
// script has loaded
try{ clicky.init(123456789); }catch(e){}
});
});

Of course, the siteID in the init() statement should of course be for your own site.

Posted Mon Mar 14 2016 1:23p by besthome***


You must be logged in to your account to post!