Created
January 13, 2014 11:19
-
-
Save onesup/8398650 to your computer and use it in GitHub Desktop.
트랙킹 코드
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
$('#behind_tracking').bind('click', function(e) { | |
e.preventDefault(); | |
$.ajax({ | |
url:"http://i85.icast-ad.com/track?ccd=1185&mcd=01040601&pcd=1505", | |
type: "GET", | |
success: function(response) { | |
window.location.href = $('#behind_tracking').attr("href"); | |
}, | |
headers: { | |
'X-Transaction': 'POST Example', | |
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content') | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment