This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is unfortunately the best way to send an adwords request. | |
// It uses global scope and document.write so we perform a slight | |
// operation and then reverse our work | |
track.trackAdWordConversion = function(conversion) { | |
logger.logFunction('track:trackAdWordConversion', arguments); | |
// Keep things around so we can reset later | |
var resetWindow = {}, | |
resetDocumentWrite = document.write; | |
// Make it so document.write doesn't open a new HTML page, but rather | |
// appends the existing HTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a test | |
This is another line |