Adding Mint to your site
Copy and paste the following code between the <head>
tags (but after the <title>
tag) on any page of your site that you would like Mint to keep an eye on:
<script src="http:///?js" type="text/javascript"></script>
Once you've done that, revisit Mint often for a fresh look at your site.
For advanced users:
If you are running PHP as an Apache Module and not already using php_value auto_prepend_file
and the output buffer, add the above <script>
tag to the $mint
variable in /config/auto.php
and the following lines to your .htaccess
file:
AddType application/x-httpd-php .html .htm php_value auto_prepend_file /var/www/apps/mint.erg7.com/current/config/auto.php
You will also want to create an .htaccess
file for the /
directory with the following line:
php_value auto_prepend_file none
This prevents Mint from tracking itself automatically.