Skip to content

Instantly share code, notes, and snippets.

@ivmarkp
Last active June 17, 2017 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivmarkp/374fc8781d3789b0522713a79416edc8 to your computer and use it in GitHub Desktop.
Save ivmarkp/374fc8781d3789b0522713a79416edc8 to your computer and use it in GitHub Desktop.
Omegascript template to log the clicked document ID along with query ID
$httpheader{Content-Type,text/html; charset=utf-8}<!DOCTYPE html><html lang="en">
<meta http-equiv="refresh" content="0.1;url=$cgi{URL}">
$log{clicks.log, "$cgi{QUERYID}\t""$cgi{DOCID}"}
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment