Q&A
Mr. Pickles the AdPlugg Pug

How to add the Snippet and the Ad Div tag to a wix webpage

+1
0
-1

I am not sure the code to ad to a A specific spot on my wix website....

I have an option to add  an EMBED HTML area to my webpage but when I plug in the snippit or the div tag nothing happens

 

This is the code i added to the code area

<script>
    (function(ac) {
      var d = document, s = 'script', id = 'adplugg-adjs';
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id; js.async = 1;
      js.src = '//www.adplugg.com/serve/' + ac + '/js/1.1/ad.js';
      fjs.parentNode.insertBefore(js, fjs);
    }('A48216372'));
</script>
<div class="adplugg-tag" data-adplugg-zone="summer_2022_leaderboard"></div>


Answers

+1
0
-1

Hi, I took a look at your Ad and it looks like under Page Targeting > Path Targeting, you entered a complete URL (ex: "https://www.example.com/blog") into the field.

The Path Targeting feature is designed to work only with the path part of the URL (ex: "/blog") only. Please update the value in the field to only include the path part of the URL. So, in the example, you would update "https://www.example.com/blog" to be simply "/blog". See the onscreen instructions above and below the field for additional details and options.