collegespun
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] classic editor + oembedThanks. We tried that on version 9.2 and it didn’t populate posts for either Facebook or Instagram. Does it need to be a newer version of the plugin?
Thanks. It seems to work most of the time now. There is, however, a delay at times for our scripts loading. Is that normal?
More info – we’re testing the page in Safari after clearing browsing history and cookies. This is what we see on first load. Second load has the video player and Taboola as desired.
https://thespun.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-22-at-4.24.54-PM.png
Thanks. So we’re still seeing the issue unfortunately.
https://thespun.com/this-is-a-test-page-for-cookiebot-and-gdpr
Video players and Taboola only load on page refresh – assuming you’ve never visited the site before.
Maybe it’s taking time to propagate?
Thanks – we’re good on the DFP code now. Actually got it to work by changing the script for each div.
Only issue left is the one you’re looking into as a bug. URL here if you need an example:
https://thespun.com/this-is-a-test-page-for-cookiebot-and-gdpr
Thanks.
Thanks – eagerly awaiting it.
I’ve taken down the tool on most of our site, but you can see the main issue here:
https://thespun.com/this-is-a-test-page-for-cookiebot-and-gdpr
If you use a private browser, you’ll notice that the first load of the site in the US (or anywhere other than the EU) results in no video player and no taboola. Subsequent page loads work as intended.
Obviously, the cookie is getting set on the first page load and therefore the user’s preference is working on the second page load. But we need the scripts to run on that first load. Thanks.
Thanks – so it looks like that gets us most of the way there.
In your demo, and in ours here – https://thespun.com/this-is-a-test-page-for-cookiebot-and-gdpr – the video only now displays if the “accept” button is clicked for marketing. But the video itself doesn’t play. Instead, it either doesn’t run or stops running after 1 second. Any idea what could be the issue?
Our other main issue deals with DFP code. I can’t get that to work either. We don’t run it through Google Tag Manager, so I figured it would work no problem. Is it maybe because we utilize size mapping?
<script async=’async’ src=’https://www.googletagservices.com/tag/js/gpt.js’></script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<script type=’text/javascript’>
googletag.cmd.push(function() {
var adunit0 = googletag.sizeMapping().
addSize([1060, 0], [[1, 1]]). //desktop
addSize([768, 0], [[1, 1]]). //tablet
addSize([415, 0], [[1, 1]]). //mobile
addSize([0, 0], [[1, 1]]). //other
build();var adunit1 = googletag.sizeMapping().
addSize([1060, 0], [[300, 600], [300,250]]). //desktop
addSize([768, 0], [[300, 600], [300,250]]). //tablet
addSize([415, 0], [[1, 1]]). //mobile
addSize([0, 0], [[1, 1]]). //other
build();var adunit2 = googletag.sizeMapping().
addSize([1060, 0], [[1, 1]]). //desktop
addSize([768, 0], [[1, 1]]). //tablet
addSize([415, 0], [[1, 1]]). //mobile
addSize([0, 0], [[1, 1]]). //other
build();var adunit3 = googletag.sizeMapping().
addSize([1060, 0], [[970, 250], [728, 90]]). //desktop
addSize([965, 0], [[1, 1], [320, 100], [320, 50], [728, 90]]). //tablet
addSize([415, 0], [[1, 1], [320, 100], [320, 50]]). //mobile
addSize([0, 0], [[1, 1], [320, 100], [320, 50]]). //other
build();var adunit4 = googletag.sizeMapping().
addSize([1060, 0], [[300, 600], [300,250], [1, 1]]). //desktop
addSize([768, 0], [[300, 250], [600, 300], [648, 60], [1, 1]]). //tablet
addSize([415, 0], [[1, 1]]). //mobile
addSize([0, 0], [[1, 1]]). //other
build();var adunit5 = googletag.sizeMapping().
addSize([1060, 0], [[728, 90]]). //desktop
addSize([768, 0], [[1, 1], [300, 250]]). //tablet
addSize([415, 0], [[1, 1], [300, 250]]). //mobile
addSize([0, 0], [[1, 1], [300, 250]]). //other
build();var adunit6 = googletag.sizeMapping().
addSize([1000, 0], [[1, 1]]). //desktop
addSize([768, 0], [[1, 1]]). //tablet
addSize([415, 0], [[1, 1]]). //mobile
addSize([0, 0], [[1, 1]]). //other
build();var adunit7 = googletag.sizeMapping().
addSize([1060, 0], [[0, 0]]). //desktop
addSize([768, 0], [[1, 1]]). //tablet
addSize([415, 0], [[1, 1], [300, 250]]). //mobile
addSize([0, 0], [[1, 1], [300, 250]]). //other
build();var adunit8 = googletag.sizeMapping().
addSize([1060, 0], [[640, 360]]). //desktop
addSize([768, 0], [[640, 360]]). //tablet
addSize([415, 0], [[375, 215]]). //mobile
addSize([0, 0], [[375, 215]]). //other
build();var adunit9 = googletag.sizeMapping().
addSize([1060, 0], [[0, 0]]). //desktop
addSize([768, 0], [[0, 0]]). //tablet
addSize([415, 0], [[1, 1], [300, 250], [320, 50]]). //mobile
addSize([0, 0], [[1, 1], [300, 250], [320, 50]]). //other
build();
googletag.defineSlot(‘/81469499/1x1NEW’, [1, 1], ‘div-gpt-ad-1469714874611-0’).defineSizeMapping(adunit0).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/300x600NEW’, [[300, 250], [300, 600]], ‘div-gpt-ad-1469714874611-1’).defineSizeMapping(adunit1).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/mobile320x50’, [1, 1], ‘div-gpt-ad-1469714874611-2’).defineSizeMapping(adunit2).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/SmartBanner’, [[1, 1], [320, 50], [320, 100], [728, 90], [970, 250]], ‘div-gpt-ad-1469714874611-3’).defineSizeMapping(adunit3).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/Top300x250’, [[300, 600], [300, 250], [300, 1050], [300, 400]], ‘div-gpt-ad-1469714874611-4’).defineSizeMapping(adunit4).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/UnderPost’, [[300, 250], [728, 90], [970, 250], [970, 90], [1, 1]], ‘div-gpt-ad-1469714874611-5’).defineSizeMapping(adunit5).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/FullPage’, [[1, 1]], ‘div-gpt-ad-1469714874611-6’).defineSizeMapping(adunit6).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/MinuteMediaVideo’, [[970, 250], [728, 90], [300, 250], [320, 50], [1, 1]], ‘div-gpt-ad-1469714874611-7’).defineSizeMapping(adunit7).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/UndertoneTestST’, [[640, 360], [375, 215], [1, 1]], ‘div-gpt-ad-1469714874611-8’).defineSizeMapping(adunit8).addService(googletag.pubads());
googletag.defineSlot(‘/81469499/AdsenseTest300x250’, [[728, 90], [300, 250], [1, 1]], ‘div-gpt-ad-1469714874611-9’).defineSizeMapping(adunit9).addService(googletag.pubads());
googletag.enableServices();
});
</script>