I am trying to cleanup unnecessary code in a wordpress site. I see, in html source code of the website, there is a javascript. it is adroll script, check below...
<script type="text/javascript">
adroll_adv_id = "4XJPGN2DSVEYBBDED4DKXK";
adroll_pix_id = "SEEYI5KV2BA53OK5YIG7IP";
(function () {
var oldonload = window.onload;
window.onload = function(){
__adroll_loaded=true;
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
if(oldonload){oldonload()}};
}());
</script>
I tried to locate the above code in all possible ways.
checked all the plugins
Deactivated Google Analytics plugin
Checked functions.php
Checked header.php and foother.php
downloaded wntire wordpress from server and then used MX dreamweaver to find adroll in source code.
But location of the javascript is still not found.