Jump to content

Recommended Posts

Posted

Hello,

 

I have multiple zones at the same page:

<ins data-revive-zoneid="6" data-revive-id="0ed21b5bc2fe38229442c39e931aa0e7"></ins>
<script async src="//domain.tld/adserver/www/delivery/asyncjs.php"></script>


<ins data-revive-zoneid="7" data-revive-id="0ed21b5bc2fe38229442c39e931aa0e7"></ins>
<script async src="//domain.tld/adserver/www/delivery/asyncjs.php"></script>

Is it enought that i bind this part example one time in the header:

 

<script async src="//domain.tld/adserver/www/delivery/asyncjs.php"></script>

So in this case i only need to place this part in the zones:

<ins data-revive-zoneid="6" data-revive-id="0ed21b5bc2fe38229442c39e931aa0e7"></ins>
<ins data-revive-zoneid="7" data-revive-id="0ed21b5bc2fe38229442c39e931aa0e7"></ins>

Thanks in advance.

 

Posted

It is safe to post the entire snippet multiple times. The browser will cache it and execute it only once anyway.

Or is it better tu use single page methode? (maybe in combination with async)

Posted

It doesn't work for me when I include the async script multiple times on the same page. Only one of them loads and doesn't pick up all the zones (at least not the 1st time the page loads). I ended up writing a WordPress plugin that does the placement for me.

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...