Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save scott/85698 to your computer and use it in GitHub Desktop.

Select an option

Save scott/85698 to your computer and use it in GitHub Desktop.
Use this code for capturing conversion actions when you have multiple conversion pages for the same test or cannot use the standard script.
<!-- Conversion Code -->
<script language="JavaScript" type="text/JavaScript">
var code_version = "1";
var pageID = "9999"; // <=== IMPORTANT replace this with your pageID
var code_domain = "r.vertster.com";
var rotate_domain = "r.vertster.com";
if (window.location.protocol=="http:")
document.write("<scr"+"ipt src="+"http://r.vertster.com/convert.js"+"></scr"+"ipt>");
else if (window.location.protocol=="https:")
document.write("<scr"+"ipt src="+"https://r.vertster.com/convert.js"+"></scr"+"ipt>");
</script>
<script language="JavaScript" type="text/JavaScript">
convertit(pageID);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment