Peppermint Tea

Overriding Page Titles in Mint

Posted 15 January 2008 in News by Sam Brown - 3 Comments

This has been possible since the early days of Mint but is one of a handful of not so obviously documented features. See this post at Shaun's site from October '05.

If you are displaying your title tags as "Company Name - Section - Page Name" for instance, Mint may well be cutting off the page names because of the length of your title tag making it hard to distinguish between your different pages within Mint.

Using this simple bit of JavaScript before your Mint JavaScript include will solve the problem:

<script type="text/javascript" language="JavaScript">
// <![CDATA[
var Mint_SI_DocumentTitle = 'NEWTITLE';
// ]]>
</script>

Do note, changes will not appear immediately as it will take time for previously recorded data to lapse, but all new data will be using the updated page name.


Ernie Oporto Says:

3505 days ago #

 
Bramus! Says:

3505 days ago #

 
Sam Brown Says:

3504 days ago #

 

Commenting closed for this article.