Results 1 to 9 of 9
  1. #1
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    190
    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
    190
    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,512
    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
    Webzings Design
    The last couple of Zen-Cart sites we have worked on, Darncat Designs, Nags to Riches, Magic Brow Bands.

  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,958
    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.
    Our latest project is Pet Tags.

  7. #7
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    190
    Plugin Contributions
    0

    Default Re: Getting Rid of SEO Detritus

    I do need to upgrade and I have someone who is going to do it for me. I am the HTML person and she is the PHP person. I know that the upgrade is daunting and so does she so we put that off until after the holidays and Valentine's Day to devote the time to it that it needs.

    I do a few tasks in Zen Cart like the actual updating of the shop and its look and I have learned quite a good deal about Zen Cart from doing and reading this forum. I am not totally innocent of PHP but not an expert in it.

    This is the code I want to get rid of and it is in the footer of the page:
    <!-- Begin Tracking Code -->
    <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>

    The other stuff I put on myself and it's what I want to stay.
    It's my Google Analytics and it works well for me.

    Thanks so much for the thought on how to find it and the reminder
    of the ephemeral nature of PHP. I will get on that today
    and clean the site up. I do have text editors, and you can
    do that with Homesite, too. But being reminded about
    Developer Tools was good, sometimes I forget there
    are such things available.

    I do appreciate your help on this, your spending your
    time to assist me and others.
    The Zen of cat.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,013
    Plugin Contributions
    25

    Default Re: Getting Rid of SEO Detritus

    Part of upgrading is doing a file compare, and this would show you if there are any other files that are different from stock, aside from the ones you have edited for your template.

  9. #9
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    190
    Plugin Contributions
    0

    Default Re: Getting Rid of SEO Detritus

    The site is all clean now thanks to your good advice. Developers tools is a great part of the site. Like I said, we will be upgrading in the post Valentine future. Again, thanks to all.
    The Zen of cat.

 

 

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
  •