How do I add a tracking code to my iWeb page?

Joined
Sep 10, 2010
Messages
2
Reaction score
0
Points
1
I want to add a tracking code to my page but I can't seem to get it to "take." I copied the html code from a 3rd party site (Google Analytic) and tried pasting into the html widget in iWeb but when I check the tracking report it keeps telling me the code has not been installed. I have tried placing the text block at various places on the page and still no luck. The directions at Google Analytic tell me where I need to paste it into the html code but to do that I need an html editor or a text editor that can read html.

Am I doing something wrong with the html widget? If a tracking code can't be added with a widget is there a way I can edit the source code directly? A text editor, maybe? I tried Word but but it wouldn't open the page.

Thanks for any help!

Rikki
 
Joined
Jun 11, 2009
Messages
186
Reaction score
3
Points
18
Your Mac's Specs
MacBook Pro 500GB hard drive 4GB ram PowerMac G5 Dual 2.2GHz Mirrored 500GB HDD, Mac Mini, and more
If you are using a web hosting co like BlueHost or even GoDaddy .. they have an online editor that you can use to make simple changes to your web code ... it will be in just html format. but you should be able to just paste the Analytic code towards the bottom. I have not used iWeb ... I'm sure it would make my life easier ... but I like making things difficult for my self for some reason
 
OP
R
Joined
Sep 10, 2010
Messages
2
Reaction score
0
Points
1
Thanks, but unfortunately I am on Dreamhost and they don't have such a feature. Out of desperation I tried copy/pasting the source code from my browser to Word and saving in plain text as an html file and make the edit that way but I ended up completely distorting and ruining my home page. So I'm back to my original question. Any other ideas?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Have you tried exporting your page from iWeb as HTML and then inserting it manually afterwards?
 
Joined
Sep 12, 2010
Messages
1
Reaction score
0
Points
1
Tracking code caused headers to disappear

I tried inserting the Google Analytics code into my website and then once I uploaded, all the headers on all the pages disappeared and I don't know how to get them back. No, I cannot write code and I do not think I can insert it and now I can't find where it is. AND there's no "repair" function in iWeb, not even if I reload the software.

What do I do now?
 
Joined
Oct 8, 2010
Messages
7
Reaction score
0
Points
1
Try this site

guimkie.com/imap

the guy designed it to build sitemaps, put on metatags, google analytics, etc. just for iweb
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top