Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    177
    Plugin Contributions
    0

    Default Getting Rid of SEO Detritus

    Several months ago I hired an SEO which didn't work out. I am now left with their tracking code all over my Zen Cart. I really don't know how to get it off. Can you please tell me how to do that?

    I have Homesite 5 and am pretty good with it if someone could tell me how to get the whole site loaded and then scrub with Homesite. I would appreciate it. Thanks.

    I am running version 1.3.7 the site is http://www.possets.com I put it up on about 2007 and it has worked very very well ever since. A bit rusty on some of the things I did to get it working but I do have The Book (alas it says nothing about SEO's).
    The Zen of cat.

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    434
    Plugin Contributions
    0

    Default Re: Getting Rid of SEO Detritus

    a good excuse to upgrade i would have thought?

  3. #3
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    177
    Plugin Contributions
    0

    Default Re: Getting Rid of SEO Detritus

    Ah, my sweet Irish friend, would that solve my problems?
    The Zen of cat.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,428
    Plugin Contributions
    3

    Default Re: Getting Rid of SEO Detritus

    The tracking code looks to be in your footer file

    I am assuming this is what you want to get rid of

    <script language="javascript" type="text/javascript">
    var trackCid = 123236;
    var trackTid = '';
    </script>
    <script type="text/javascript">
    var proto = (("https:" == document.location.protocol) ? "https://" : "http://");
    document.write(unescape("%3Cscript src='" + proto + "otracking.com/js/TrackingV2.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    you also have google analytics in there as well

    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-12512869-1");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
    Possibly the easiest way to find the correct file to edit would be to use the Developer tools in zencarts admin
    Admin --> Tools --> Developer tools
    to search for the string "TrackingV2.js", which will tell you what file its in.

    basically put that string in the the very bottom box on that page, select all files from the drop down box next to it and then hit search, and it ashould tell you where the code is
    Nigel
    Webzings Design
    The last couple of Zen-Cart sites we have worked on, Darncat Designs, Sweet Brucies

  5. #5
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    434
    Plugin Contributions
    0

    Default Re: Getting Rid of SEO Detritus

    couldn't garentee that upgrade would solve but hey it needs done anyway and some of procedures would be the same

  6. #6
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,916
    Plugin Contributions
    3

    Default Re: Getting Rid of SEO Detritus

    Homesite is of no use to you.

    PHP Files need to be edited using a plain text editor... you are not working with flat html in zencart. The HTML is "assembled" for each "browser page" on-the-fly - and it evaporates when a viewer clicks a link, or performs a function, and the PHP then assembles a new page which it sends to the browser. That one too will vanish forever when the viewer clicks a link.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •