Where can I find this ad code in my site?
-
So I haven’t touched my site (taketimeaway.com) in a long time and cannot figure out where I would have placed this Swoop ad code that is in the middle of my blog posts and I want to get rid of it and just use the Google ads. It looks like Swoop ads had instructions to place it before the </body> tag but that seems like it could be anywhere and I’ve looked at several function.php files and couldn’t find it. The code that I would have entered would be:
<!– +SWOOP –>
<script type=”text/javascript”>
(function addSwoopOnce(domain) {
var win = window;
try {
while (!(win.parent == win || !win.parent.document)) {
win = win.parent;
}
} catch (e) {
/* noop */
}
var doc = win.document;
if (!doc.getElementById(‘swoop_sdk’)) {
var serverbase = doc.location.protocol + ‘//ardrone.swoop.com/’;
var s = doc.createElement(‘script’);
s.type = “text/javascript”;
s.src = serverbase + ‘js/spxw.js’;
s.id = ‘swoop_sdk’;
s.setAttribute(‘data-domain’, domain);
s.setAttribute(‘data-serverbase’, serverbase);
doc.head.appendChild(s);
}
})(‘SW-80287445-42998’);
</script>
<!– -SWOOP –>Any ideas where else I could look so I could delete this out of my site? Thanks!
- The topic ‘Where can I find this ad code in my site?’ is closed to new replies.