Articles on: Monetization

How to set up In-Page (Floating push) ads

This article explains how to set up EZmob In-page push ad tag.

Request ad tag from your account manager, support chat or grab it from the dashboard by creating In-page Placement

Here is how In-page looks like:

i.inpagepush = i.inpagepush || function() {
var s=n.getElementsByTagName('head')[0];
var q=n.createElement('script'); q.async=1;
i.inpagepush('init', {
host: '',
feed: **,
auth : '******',
subid: '1',
refresh: 25,
position: 'bottom',
slots: 3,
query : 'inpage',
z_index: 88888
})(window, document);

You can modify the tag according to you website content layout and your preferences by changing tag properties:
refresh - refresh period in seconds
position - 'bottom' and 'top' are showing ads in right-bottom or right-top corner
slots - max number of ads to show per "refresh" (1-3)
By adding the line layout : 'mobile_mini,' line you will make the widget more condensed on mobile devices

Place the tag just before closing </head> of your website source code.

That's it!

P.S.: If you are using Blogger Platform or WordPress, check these articles:

How to add an Ad Tag to <head> section in Blogger platform

How to add an Ad Tag to <head> section in WordPress

Updated on: 14/09/2022

Was this article helpful?

Share your feedback


Thank you!