omexlu Posted May 26, 2015 Report Posted May 26, 2015 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. Quote
Matteo Beccati Posted May 26, 2015 Report Posted May 26, 2015 It is safe to post the entire snippet multiple times. The browser will cache it and execute it only once anyway. omexlu 1 Quote
omexlu Posted May 26, 2015 Author Report Posted May 26, 2015 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) Quote
martin.krcho Posted May 28, 2015 Report Posted May 28, 2015 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. Quote
omexlu Posted May 28, 2015 Author Report Posted May 28, 2015 For me it works but i think single page methode is better? Quote
Recommended Posts
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.