UPDATE: Let me specify a few things. This GET request (to another domain) should happen after a form submitted through AJAX successfully (it counts the number of conversions coming from a specific referrer). So the response is indeed irrelevant, what matters most is that the GET request is successful, and of course that I keep the code to a minimum.
Quick question, are these two lines pretty much the same thing ? (what I need is a get request to the url
) :
$('body').append('<img height="1" width="1" style="border-style:none;" alt="" src="url"/>');
And
$.get(url);
My apologies if this sounds idiotic, but I need to be sure.
Thank you.