pirate's Avatar
pirate 3
29 Asked
307 Answered
73 Best
0
No one has voted on this question yet :(
3 years ago

Is there a way to put a Quancast tag in all of your websites at once?

I heard of Quancast on #twist, but I don't want to go through every single page, right click edit and copy paste that code in. Especially since I plan on having many, hopefully hundreds of pages.

Is there a Quancast crawler or something?
Tip for best answer: M$4.00
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

2 Answers

1
christhomson's Avatar
christhomson | 3 years ago
4
If you're using self-hosted software that offers a templating system, such as WordPress or Drupal, just include the Quantcast tag in your template. For example, with WordPress, you can stick the Quantcast code in the wp-content/themes/THEMENAME/footer.php file directly above the /body tag.

If you're using a hosted service like WordPress.com or Blogger.com, then you're out of luck: they don't allow you to insert JavaScript into their pages for security reasons.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

Report Abuse

Post Reply Cancel
1
robbrown's Avatar
robbrown | 3 years ago
4
Dreamweaver has a global search and replace function that you may find useful.

Here is a handy little howto:
http://webdesign.about.com/od/dreamweaverhowtos/ht/dw_find_replace.htm

If you don't have Dreamweaver, there are independent tools that can help you with this. This one is free and works well:
http://www.nontube.com/products/multiple-find-and-replace

http://cache.gawker.com/assets/images/lifehacker/2008/11/multiple_find_and_replace.jpg

However, a pro would do this by using a Server Side Include with a scripting language like PHP.

When I install analytics or other such things, I include a bit of php code on every page that references a single file. One file... many pages. So if I ever need to change the analytics code (or whatever), it's a quick an easy edit of 1 file.

Here is a tutorial:
http://www.w3schools.com/PHP/php_includes.asp

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
wdawe's Avatar
wdawe | 3 years ago Report

You definitely want to use a php include or the ASP equivalent. Trying to keep a tag or bit of analytic code updated across multiple pages is a nightmare otherwise.

pirate's Avatar
pirate | 3 years ago Report

The reason why I'm asking is because all of the code is automatically generated because of Wordpress.

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates