wilson113311 Posted January 28, 2014 Share Posted January 28, 2014 Hi There I am hoping someone will be able to point me in the right direction I have a site which is www.tillrollsonline.co.uk which used to be hosted by a software company for me I then switched and I am now handling this myself through a rackspace server which has all been going well until now. The problem I am having is that the site is now taking ages to load which the site has been on the server for ages working fine. I have discovered up to now that the issue is with a connection it is trying to make to another address which I believe is now dead. I have found this code in my site which seems to have got onto every page in my website. var pkBaseURL=(("https:"==document.location.protocol)?"https://tro.tcsoftware.net/stats/":"http://tro.tcsoftware.net/stats/");document.write(unescape("%3Cscript src='"+pkBaseURL+"piwik.js' type='text/javascript'%3E%3C/script%3E"));/* ]]> */</script><script type="text/javascript">/* <![CDATA[ */ try{var piwikTracker=Piwik.getTracker(pkBaseURL+"piwik.php",1);piwikTracker.trackPageView();piwikTracker.enableLinkTracking();}catch(err){}/* ]]> */</script><noscript><p><img src="http://tro.tcsoftware.net/stats/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript></head><body id="index"><div class="page"><div id="header"> <a href="http://www.tillrollsonline.co.uk/" id="header_logo" title="Till Rolls Online"> <img class="logo" src="http://www.tillrollsonline.co.uk/img/logo.jpg?1383692269" alt="Till Rolls Online" width="224" height="40" /> </a><div id="header_right"><ul id="header_links"><li id="header_link_contact"><a href="http://www.tillrollsonline.co.uk/contact-us" title="contact" I hope someone can help with this as it is really effecting the results of the site. Kind Regards Jack Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 28, 2014 Share Posted January 28, 2014 You set a Piwik analytics tracker on your store? That's what the link is saying I think. Link to comment Share on other sites More sharing options...
wilson113311 Posted January 28, 2014 Author Share Posted January 28, 2014 Thank you for your quick reply, I didn't however I do think the developer who hosted for me previously did. I have deleted the stats folder from my drectory and also the piwik tables in php but still this code stays do yoi where I delete this from? Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 28, 2014 Share Posted January 28, 2014 I'm really not sure you should have deleted the stats folder. That's probably something else. Did you backup your store, db and files before deleting tables via php? You should contact the developer to find out where they added the piwik tracking code in your files. Link to comment Share on other sites More sharing options...
wilson113311 Posted January 28, 2014 Author Share Posted January 28, 2014 I have tried ccontacting him but it seems he is nowhere to be found now. I have a back up of the files yes but after deleting these it hasnt affected the store? Is there no way I can search for the code? Link to comment Share on other sites More sharing options...
wilson113311 Posted January 28, 2014 Author Share Posted January 28, 2014 Also the stats folder was just full of piwik items Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 29, 2014 Share Posted January 29, 2014 No problem. I would search in the header.tpl of your theme. themes/(yourtheme)/header.tpl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now