New Google Sites Copyright Footer Embed Code



New Google Sites has been updated to support both JavaScript embed codes and a dedicated Footer functionality.    This allows us to include a copyright notice that automatically updates the year.  Simply insert an embed object, select "Embed Code" as shown above and copy and paste in the code on this page.   Replace Organization Name Here (ensuring to leave the quotes in place) before selecting Next to preview.  Then resize the embed object and position in your footer.

JavaScript

1
2
3
4
5
6
<script type="text/javascript">
document.write("© Copyright ");
document.write(new Date().getFullYear());
document.write(" ");
document.write("Organization Name Here");
</script>

Comments