Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Page builder preview not displaying correctly after Media.net code injection



I'm trying to use ads from Media.net on my site to generate some income.

For the ads to be able to display, Media.net requires me to add the following custome code to my site header using code injection:

<script type="text/javascript">
window._mNHandle = window._mNHandle || {};
window._mNHandle.queue = window._mNHandle.queue || [];
medianet_versionId = "3121199";
<script src="https://contextual.media.net/dmedianet.js?cid=8CUY1287I" async="async"></script>

However, after injecting this piece of code, my pages don't display properly in my Squarespace page builder. It does still display correctly in the live version though. The attached image shows what appears when I try to open a page in the site builder. As you can see, it seems like the page is only displayed in the header part of the page. The weird thing is though that sometimes it does display correctly, and sometimes it doesn't.

Does anyone have experience with this issue, know what the cause is and how to fix it?

Thanks in advance!


Untitled (1).png

Link to post
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...