Get Paid to Blog About the Things You Love

Add Google Analytics code to your entire website in a flash

Some people love dreamweaver. Some people hate it. I personally have found it to be greatly useful. I never leave the code view, as the design view is completely pointless, and almost never reflects what the page will actually look like.

Here’s one really neat thing you can do. There is a find and replace feature (CTRL-F) in dreamweaver that can take all files in your site, and replace one piece of text with another. This has many uses, but my favorite is this one:

Find in: Entire Current Local Site
Search:
Source Code
Find:
</body>
Replace:
*analytics code* </body>

Find and Replace
Click to enlarge thumbnail

You can add the code to hundreds of pages at once. All you have to do is a synchronize after that, and BAM, you’re done.The only caveat, is that if you don’t have the entire site on your local hard drive… well… you can’t do it. See the previous post for my rant on that, and how to get me to send you five bucks if you tell me how to do it.

Rate this:
2.9
Stumble it!

Post Info

This entry was posted on Friday, December 28th, 2007 and is filed under development. It has 48 views

Tags:, ,

Comments Feed. | Leave Comment | Leave Trackback.



Previous Post: 5 bucks to a Dreamweaver or FTP client guru! »
Next Post: How to clear floats for proper footer placement »
Most viewed posts


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.