Strange text showing up on index.html after upload
Auteur : David B.After working on my site, it looks good when I test it using the built-in browser. I then upload it to my server using the built-in FTP function. When I test the website via the internet, using the latest Chrome browser, I see this string of text in the upper left of my Index page, 'UA-90302606-1' If I look at that index.html file on my computer with a text editor, I see that this text has been inserted at the last line before the end of trhe 'head' section. Here's a couple of lines of the html code I copied from the index.html file:
</script>
UA-90302606-1
<link rel="icon" href="favicon.png?13-0-4-25-636234416769075602" type="image/png" />
</head>
I don't know where the text (UA-90302606-1) is coming from and why it doesn't show up when I view the page within WebsiteX5. Any ideas what's causing this and how to prevent it? I am not including a link to the website because I edited the index.html file and used a stand-alone FTP program to upload it to my server, so the problem won't show up again until I make updates with WebsiteX5 and then re-upload the index file. It has happended each time I have updated that website and is anoying. (OK, here's the website link, but remember you WON't see the problem now! https://sctc.000webhostapp.com/)
Did you check if it is written in the seo ?
step1 -> seo -> expert, and check the pulldown for bold letters and see if the text is there?
or is it filled in or aadded to content that is in the basic tab?
Check also the step3 homepage, properties, expert tab same way as seo descriped above? (check bold text items)
You probably find it in there.
Goodluck
Auteur
Thanks to Andre I discovered that the numbers being inserted onto my index.html page is my Google Analytics tracking number. I don't know how this is hapening. In the SEO basic settings I have selected "Automatically create a SiteMap" and have set up my Google Search Console and entered the verification number into the appropriate field. This is the same as my Google Tracking ID, and the same number that is getting inserted into my Index.html page. I also checked the "Enable website hit statistics" box, selected Google Universal Analytics and pasted my Tracking ID (that same number) into that ID field. There is no other place in the Expert settings where the text appears, either on the SEO page or on the Expert Properties for the Home page.
I just made a few edits to my site, turned off the "Enable website Hit statistics" and uploaded the site again. That tracking code text still appears on my home (index.html) page. I looked at the sourcecode for the page, and my tracking number is in the correct place in the google analytics script, but it is also sitting there at the same spot before the closing of the Head section. (code inserted below) Any Ideas on why this is happening and how to prevent it? At least I know where the text is coming from, but is there an issue with the WebsiteX5 generator that is inserting that text in the wrong place?
...
window.onload = function(){ checkBrowserCompatibility('Your browser does not support the features necessary to display this website.','Your browser may not support the features necessary to display this website.','[1]Update your browser[/1] or [2]continue without updating[/2].','http://outdatedbrowser.com/'); }; </script>
UA-90302606-1
<link rel="icon" href="favicon.png?13-0-4-25-636241595181058438" type="image/png" />
<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', 'UA-90302606-1','auto');ga('send', 'pageview');</script>
The text looks good, check code again, place it without spaces.
Do a full upload, check website, press ctrl-F5 in your browser? All ok now?
If not please post the websiteadress.
thx
Auteur
Sorry for taking a while to update on this problem, but I tried a couple of things to see if I could figure out what is causing the issue. I went into the SEO and reset my Google analytics ID, etc. and uploaded the site (selecting upload only things that have changed) and the same text still appeared on the home page. I viewed the source code and discovered that although my tracking code ID number was appearing on the home page, the whole Google tracking script hadn't been written to the file... anywhere! I downloaded that page via FTP from my host and opened it with a text editor and confirmed that the Google script wasn't there. I then went back to the SEO on WesiteX5 and really just tried to redo everything, but this time I also did some minor editing to the content of the page to enable me to easily confirm I was looking at the new page when I open it in my browser later. Part of this process was fine tuning my footer which does affect the Template, not just the contents of one page. So after that I uploaded the site, and of course there were more files that actually had changed than previous times, and then i looked at the site with my refreshed browser. This time the text did not show up on the home screen, and when I looked at the source code the Google Analytics script was there! So I don't know exactly why it had been such a persistent problem, nor why it seems to be solved, but after this last upload everything seems to be working. Perhaps it had to do with actually making more edits to the file than simply updating the SEO, but that wouldn't explain why the problem first cropped up because then I had made a significant number of edits to the site. Well now I just hope it doesn't come back!
Thanks to everyone.
Well I am glad it's solved that's the most importand thing.
Thank you for the update.