i'd like to embed a stats script in my footer, so i can track visitors from elsewhere on my site who come over to the zencart shop.
the stats script (sitemeter) requires an image that links off-site, which breaks the SSL cert on SSL pages.
i've defined it a separate FOOTER_STATS in english.php (paralleling FOOTER_TEXT_BODY) that includes the script. i'd like to have tpl_footer.php call FOOTER_STATS only on non-SSL pages.
so i need a php command with this logic:
if (not SSL page) { echo FOOTER_STATS } else { (rest of footer) ... }
any idea how to do that? i've been trying some of the variable strings i found by searching the developers toolkit (mostly from init_sessions.php), but nothing's worked.
Bookmarks