-
Notifications
You must be signed in to change notification settings - Fork 51
Labels
type: bugSomething isn't workingSomething isn't working
Milestone
Description
Ad region <div>s are still rendered even if there is no matching ad code to display in them. This causes some strange output because the <div> doesn't get a proper id or size applied. For example, this is the html produced if there is no matching ad for a region:
<div style="width:%width%px; height:%height%px;" id="%tag_id%">
<script type="text/javascript">
googletag.cmd.push(function() { googletag.display('%tag_id%'); });
</script>
</div>Would be best to skip the html entirely if no ad will be displayed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working