I want to add Google Referral code to my webpages - a text link which is in javascript from Google.
I found one recommendation to use User Defined Tags [UDT] for adsense, so I thought I could use it for a Referral:
http://wiki.cmsmadesimple.org/index.php ... le_adsense
I have tried to create a new UDT, I've added the {literal} and {/literal} tags, and put the javascript inbetween, but I keep getting an error message - Invalid code entered.Google adsense
get your adsense code from google.
copy paste it as is into user defined tag (in extension -> user defined tags -> add user defined tag) as this code has javascript { and } we need to wrap it inside {literal} and {/literal} otherwise smarty will miss interperet those extra { } as its own. so add {literal} at the top and {/literal} at the bottom.
edit your template in which you want the ads to be shown. check where you want your ads (you might want to wrap em in
) and add call to your user defined tag with {name_of_your_udt}. save
refresh your page, and thats it.
I also get a Troubleshooting link to click on - but there's nothing there

Has anyone else added the Google Referral to their CMSMS?
I'm using CMSMS 1.0.2 "Maui"
Thanks in advance!