Jump to content
  • Posts

  • Joined

  • Last visited

  • Days Won


[email protected]'s Achievements


Rookie (2/14)

  • One Year In Rare
  • First Post
  • Collaborator Rare
  • Conversation Starter
  • Week One Done

Recent Badges



  1. thanks - but no, it doesn't. Tried three different browsers, cleared cache on browsers as well - no difference.
  2. thanks. have tried that code change - makes no difference at all. No, it wasn't a standard feature, I changed it a few years ago doing something similar to the link you sent me. I just never kept what I did - so couldn't remember how to do it. It is a very good thing to have though. Not sure why the code change didn't fix it though? Any other suggestions please?
  3. Hi, before I upgraded to the latest version, our store had the number of products in each category listed (i.e widgets (4) ). It has now gone. Can some kind person please advise what file needs to be amended and with what code to restore this feature to our page please? thank you in advance
  4. no, it wasn't - but I've ticked it now and saved.
  5. thanks for the reply: CubeCart Version 6.4.4 Yes, there is: <title>{$META_TITLE}</title> {include file='templates/element.meta.php'} <link href="{$CANONICAL}" rel="canonical"> <link href="{$ROOT_PATH}favicon.ico" rel="shortcut icon" type="image/x-icon"> {include file='templates/element.css.php'} {include file='templates/content.recaptcha.head.php'} {include file='templates/element.google_analytics.php'} {include file='templates/element.js_head.php'} </head> <body> Yes, that file is there - : {if isset($smarty.cookies.accept_cookies) && $smarty.cookies.accept_cookies=='true'} {literal}<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{/literal}{$ANALYTICS}{literal}', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script>{/literal} {/if}
  6. thank you for the reply - not quite sure I understand it though I don't really mind if i use that code or not, all i know is that the analytics isn't working and hasn't worked with cubecart since day one of our install (i only just found out today). I have have done is put our code in the area within store administration as that is all I thought we needed to do to get it working? What else could then be stopping it working - assuming I am not required to put any code in manually - just the analytics userid into the admin area please?
  7. Hi, I am trying to configure Google Analytics for my site. I've put in the Analytics ID number in the Store administrator settings some time ago, but it has never worked - nothing appears on the google console. I haven't however put in any tracking code as I wasn't sure where to put it. I see that it is supposed to go in the head section of every page. I've searched the forum and others have said put it in main.php - however which one? I have tried putting it in as the first entry under my templates/foundation main.php and all it does is prevent from the page from loading. Is someone able to assist as to correctly setup analytics for ALL of the pages on the website please? thanks in advance. This is the code I need to put in: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-11031594-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-11031594-1'); </script>
  • Create New...