Hi
Does anyone know how to insert tracking code such as Google Analytics or MyBlogLog.
In fact how do you access the HTML code for your page.
Any advise would be greatly appreciated
Raoul
in Internet & Networking Channel,
Written by: Raoul Benchimol on Oct 23 2009, 2:19pm
Hi
Does anyone know how to insert tracking code such as Google Analytics or MyBlogLog.
In fact how do you access the HTML code for your page.
Any advise would be greatly appreciated
Raoul
Copyright © 2010-2012 SoftCity technologies. SoftCity, a groundbreaking social commerce initiative sponsored by Avanquest Software
4 Citizens Answers
Blaise RABAUD says:
There is no way to view the coding within webeasy itself.
You would have to export the file in html, browse to the folder storing the html files (by default its in My documents >> Webeasy >> HTML), right click on the page you want to view and select Open With >> Notepad.
You can insert custom code through webeasy however.
Custom HTML and JavaScript code can be added to your pages using the Custom Script Assistant in Web Easy Professional. This functionality is not available in Web Easy.
Solution
The Custom Script Assistant can be opened by selecting "Custom Script Assistant" from the "Tools" menu. It allows HTML and JavaScript code to be added in four different ways:
1) Attached to an item (image or text) at a specific loction within your page.
2) Directly after the <BODY> tag, but before any other items on your page.
3) As attributes of the <BODY> tag itself.
4) Between the <HEAD> and <BODY> tags, as JavaScript code.
To add custom HTML code at a specific location within your page:
1) Insert an image into your page in the position where you want the custom code to be.
2) Select the image.
3) From the "Tools" menu select "Custom Script Assistant"
4) In the window that appears, make sure the "Object Events" button is selected.
5) Type your custom HTML code in the text box labeled "Contents", or press CTRL-V to paste it.
6) Click "OK".
After doing this the image acts as a placeholder for your custom HTML code. When you preview the site, the image will be replaced by your code. You may need to resize the image, depending on the code you have entered. Note that if you use copy-and-paste to duplicate the placeholder, you will need to manually add the script to the new placeholder image - it will not be copied automatically.
This technique can also be used to add attributes to HTML tags, for example if you added the code BORDER=2 to an image, when you preview your site the image will have a 2-pixel wide border.
To add custom HTML code directly after the <BODY> tag, but before any other items on your page:
1) Make sure there are no items selected on your page.
2) From the "Tools" menu select "Custom Script Assistant"
3) In the window that appears, make sure the "Body Elements" button is selected.
4) Type your custom HTML code in the text box labelled "Contents", or press CTRL-V to paste it.
5) Click "OK".
Votes
Arthur K. says:
Just to add on to the answer left by Blaise, although you cannot view all the code generated by webeasy, you can view/modify the CSS that it generates using the File Inspector under the STYLE TAB.
In version 7, before varial page lengths was added as a feature, I would use this to modify the page lengths of individual pages.
To open the File Inspector, click on View >> Inspector.
Click on the Style Tab.
Locate the Attribute (under the sub-category Item) Custom CSS & double click the value field to the right of it. This will then open the Cascading Style Sheet assistant.
From the Keywords drop down menu, you can then select the CSS it generates, and modify it manually, excellent for the more experienced user familiar with CSS.
Votes
John Kendall says:
Doesn't adding Javascript in the body slow down loading?
I was told to save it like external CSS and then link to it from where it is needed in the code. This allows the site to load faster and then, when it reaches the place where the script is used it calls it from the server.
as stated, I can not see any benefit in using Javascript.
Please, if I am wrong, let me know. I want to learn how to build Dynamic sites and load time is important.
Votes
Spencer Roane says:
Thank you Blaise. To use Earthlink's counter, their tech support suggested inserting script into the HTML. It was difficult to determine where in the HTML the script needed to go and, even worse, the script had to be re-inserted each time the website was rebuilt. The 6 steps you outlined were a much better alternative in that I could easily position the counter and only had to insert the script once.
John - I didn't notice any difference in load time when I added the script.
Spencer
Votes
Post your comment
You might be interested in these related contributions
Inserting verification/tracking code from google, bing, yahoo
My SEO guy sent me Google, Bing, and Yahoo verification/tracking code for my website created in Web Easy 8. He wants me to insert it into the website's root folder. I am not sure if I should insert it...
in Internet & Networking, by Kevin McKnelly
Mar 30 2011, 8:36am
Tracking code
I'm using google adwords and I want to add a tracking code to my website. Could you tell me what steps I need to take.
in Internet & Networking, by Thomas Thomas
Dec 31 2010, 2:29pm
Insert code into WEB page
My business has received accreditation with the Better Business Bureau and they sent me code to be abl;e to insert into my WEB site. How can I do that with WEB Easy Pro 8?
in Internet & Networking, by William Prettyman
Apr 4 2011, 3:45pm
Web Easy 8 : More about GA Tracking Code
RE: Web Easy 8 This is similar to a previous question with a little twist: I want to insert Google analytics code just above the <body> tag at the bottom of every page of my w...
in Business, by Kevin McKnelly
May 10 2011, 5:16pm