How to set up In-Page (Floating push) ads
This article provides a step-by-step guide on how to set up the EZmob In-Page (Floating Push) ad tag for your website.
- Request Your Ad Tag: To begin, you will need to obtain the ad tag. You can request it from your account manager or via support chat. Alternatively, you can generate the tag directly from your dashboard by creating an In-Page Placement.
Here’s how the In-Page ad tag appears:
<!-- INPAGE TAG BEGIN -->
(function(i,n,p,a,g,e){
i.inpagepush = i.inpagepush || function() {(i.inpagepush.q=(i.inpagepush.q||[])).push(arguments)};
var s=(n.getElementsByTagName('head')||n.getElementsByTagName('body'))[0];
var q=n.createElement('script');q.async=1;
q.src='//static.adkernel.com/inpage/inpage.js';
s.appendChild(q);
i.inpagepush('init', {host: 'xml.ezmob.com', feed: **, auth: '**', subid: 'site1', refresh: 30, slots: 1, layout: 'custom', position: 'top'});
i.inpagepush('show');
})(window, document);
</script>
<!-- INPAGE TAG END -->
- Customize the Tag: You have the flexibility to tailor the tag to fit your website's layout and your specific preferences. You can modify the following properties:
- refresh: This defines the refresh interval in seconds. Adjusting this allows you to control how often new ads will appear.
- position: This can be set to either 'bottom' or 'top' to display ads in the right-bottom or right-top corner of your page, respectively.
- slots: This parameter determines the maximum number of ads displayed per refresh cycle, allowing a range from 1 to 3 ads.
- To create a more compact widget on mobile devices, you can add the line layout: 'mobile_mini' to your tag.
- Insert the Tag: Once you have configured the tag to your liking, place it just before the closing
</head>tag in your website’s source code.
That’s it! Your In-Page ads are now set to go live.
Note: If you are using platforms like Blogger or WordPress, we recommend checking our specific articles for those platforms for more detailed instructions:
- How to add an ad tag to <head> section in Blogger platform
- How to add an Ad Tag to <head> section in WordPress
In summary, setting up In-Page ads is a straightforward process that enhances your website’s advertising capabilities. By following these steps, you can effectively manage your ad placements, ensuring they align with your design and user experience goals. Should you encounter any issues or have further questions, please don't hesitate to reach out to our support team for assistance.
Related Articles
- In-Page Floating Push Ads
- How to create an In-Page / floating push campaign
- How to optimize creatives for push notification campaign
- How to optimize Push notification campaigns
- How to add an Ad Tag to <head> section in WordPress
Updated on: 06/12/2025
Thank you!
