Changeset 251


Ignore:
Timestamp:
Oct 30, 2006, 7:32:07 AM (13 years ago)
Author:
David Sheldon
Message:

Add google analytics to submit page so we can use their "Goal tracking".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/cgi/submit.fcgi

    r238 r251  
    2626my $returnBaseURL = '';
    2727
     28my $googleAnalytics = <<"HERE";
     29<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
     30</script>
     31<script type="text/javascript">
     32_uacct = "UA-732621-2";
     33if (typeof urchinTracker == 'function') urchinTracker();
     34</script>
     35HERE
    2836my $cgi;
    2937# Process incoming requests
     
    132140        print "<body><p>Thank you for telling us where your post code is!</p>\n";
    133141        print "<p>$returnlink</p>\n";
     142        print $googleAnalytics;
    134143        print "</body></html>";
    135144        # Any extra actions
Note: See TracChangeset for help on using the changeset viewer.