Adding social marketing to static landing page template

Hi,

I have a classifieds website and would like to add a Social Marketing free ad coupon option to one of the pages (static template) that are displayed when posting an ad. I would have to add the code to the template.php file. Is there a way to do this perhaps using an “if function exists” etc. call?