> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ezmob.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# EZmob: Example Tags

| Updating your tag with the right parameters such as subid, feedID etc is vital to earning more and being open to more demand sources

| For our Publishers working on EU servers we have a special update and you can connect to our EU servers directly. Find out out how in [EZmob: Example Tags](https://helpdesk.ezmob.com/en/article/ezmob-example-tags-7l6v9f/)

**Example Interstitial Banner Tag**
```<script>
(function(i,n,t,s,t,l){
 i.intstl = i.intstl || function() {
  (i.intstl.q=(i.intstl.q||[])).push(arguments)
};
var s=n.getElementsByTagName('head')[0];
var q=n.createElement('script'); q.async=1;
q.src='https://static.ezmob.com/intstl/intstl.js';
s.appendChild(q);
i.intstl('init', {
 host: 'xml.ezmob.com',
 feed: 'FEED ID',
 auth : 'AUTH KEY',
 logo: 'https://adk.ezmob.com/images/icoLogo.png',
 color1: '#3c8dbc', color2: '#307196',
 textColor: 'white', background: '#f7f7f6',
 engagementPeriod: 10,
 interval: 5,
defer: 10
});
i.intstl('show');
})(window, document);
</script>```


**Example Pop tag:**
```<script>
window.adk_pdisp = {'h' : 'xml.ezmob.com',
'f' :  ZONE_ID,
'a' : 'AUTH_CODE',
'ps' : [1],
'cin' : 4,
's' : 'replace-with-some-dynamic-subid',
'q' : [],
't' : 1,
};
</script>
<script src='//static.ezmob.com/tabu/display.js'></script>

```

**Example Tab under (pop under) tag:**

```<script>
window.adk_pdisp = {'h' : 'xml.ezmob.com',
  'f' : FEED_ID,
  'a' : 'AUTH_KEY',
  'ps' : [1],
  'cin' : 4,
  's' : '',
  'q' : [],
  'op' : { 'edge': 'tabu', 'ie': 'tabu', 'ff': 'tabu', 'chrome': 'tabu', 'webkit': 'tabu', 'mobile': 'tabu', 'safari': 'tabu', 'def': 'tabu'},
  't' : 1};
</script>
<script src='//static.ezmob.com/tabu/display.js'></script>```
                                
the following parameters are included in your JS Pop and Tab under tags :


```h:
f: feed ID (mandatory)
a: authentication ID (mandatory)
ps: 1 (fixed value)
cin: 4 (fixed value)
s: subid (optional)
q: site category (optional)
t: frequency cap in hours (optional)```

**Example In-Page Push Tag Code:**

``` <!-- INPAGE TAG BEGIN -->

<template id='layout_push_notification_area'>

<style>#push_notification_area{position:fixed;top:0;right:0;height:100%;display:flex;flex-direction:column;width:100%;max-width:400px;user-select:none;pointer-events:none;z-index:99999}.area_top{justify-content:flex-start}.area_bottom{justify-content:flex-end}</style>
<div id='push_notification_area'></div></template><template id='layout_push_inner_style'>
<style>:host{all:revert}.hide{display:none}@keyframes _animation_show{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes _animation_hide{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes _animation_destroy{from{transform:scale(1,1)}to{transform:scale(0,0)}}.animation_show{animation:_animation_show .3s ease-out}.animation_hide{animation:_animation_hide .3s ease-out}.animation_destroy{animation:_animation_destroy .05s ease-out}.g_row{display:flex;justify-content:space-between;align-items:center;pointer-events:all;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;height:118px}.g_firsts img.message_icon{max-width:100px;border:2px solid #d1d1d18c;border-radius:20px}.g_firsts img.message_icon{max-width:110px}.g_seconds{width:-webkit-fill-available;padding-left:15px}.main_card{max-width:500px;height:150px;border:10px solid #ec9420;border-radius:0 40px 0 40px!important;padding:10px 8px 0 8px;position:relative;background:#fff;margin-top:2px}.g_seconds h4{font-size:22px;font-weight:bolder;color:#000;margin:0;min-height:1em;max-height:2em;line-height:1em;overflow:hidden}.g_seconds p{font-size:18px;font-weight:400;color:#666;margin:0;max-height:3em;text-overflow:clip;overflow:hidden;line-height:1em;padding-top:5px}img.g_fire{max-width:24px;position:relative;top:4px;right:4px}.g_marker{display:flex;color:#000;font-weight:700;align-items:center;justify-content:end}.g_marker img{max-width:100px;height:40px}.g_notify{display:inline-block;width:28px;font-size:20px;line-height:28px;text-align:center;border-radius:25px;background:#f00c7;color:#fff;position:absolute;right:15px;top:15px}.g_thirds{z-index:99999;cursor:default;pointer-events:all;align-self:stretch}.g_thirds svg{padding:3px 3px 0 0}</style>
</template><template id='layout_push_inner_content'><div class='main_card push_message animation_show'>
<div class='g_outer'><div class='g_row'><div class='g_firsts ad_icon_wrapper'>
<img class='ad_icon message_icon'></div>
<div class='g_seconds'><h4 class='ad_title'></h4>
<p class='ad_descr'></p></div><div class='g_thirds ad_close_button'>
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='22px' height='22px' viewBox='0 0 94.926 94.926' style='enable-background:new 0 0 94.926 94.926' xml:space='preserve'><g><path d='M55.931,47.463L94.306,9.09c0.826-0.827,0.826-2.167,0-2.994L88.833,0.62C88.436,0.224,87.896,0,87.335,0
			c-0.562,0-1.101,0.224-1.498,0.62L47.463,38.994L9.089,0.62c-0.795-0.795-2.202-0.794-2.995,0L0.622,6.096
			c-0.827,0.827-0.827,2.167,0,2.994l38.374,38.373L0.622,85.836c-0.827,0.827-0.827,2.167,0,2.994l5.473,5.476
			c0.397,0.396,0.936,0.62,1.498,0.62s1.1-0.224,1.497-0.62l38.374-38.374l38.374,38.374c0.397,0.396,0.937,0.62,1.498,0.62
			s1.101-0.224,1.498-0.62l5.473-5.476c0.826-0.827,0.826-2.167,0-2.994L55.931,47.463z'/></g></svg>
</div></div><div class='g_marker'><div>AD by</div><img src='https://ezmob.com/wp-content/uploads/2021/07/ezmob-black-logo-340x156-1.png'</div></div></div></template>>
<script>
(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: 584093, auth: 'LZRSZr', subid: 'site1' , refresh: 120, slots: 2, layout: 'custom', position: 'bottom'});
	 i.inpagepush('show');	 })(window, document);
	 </script>
<!-- INPAGE TAG END --> ```

**Example Redirect Tag**

Publishers may enter their own text after the subid=”example”

```http://xml.ezmob.com/redirect?feed=FEED_ID&auth=AUTH_CODE&url=https://YOUR_URL&subid=SUD_ID
```


**position - 'bottom' and 'top' are showing ads in right-bottom or right-top corner**

**slots - max number of ads to show per "refresh"**

**layout : 'mobile_mini' makes the widget more condensed on mobile devices.**






## Related Articles

[EZmob Publisher : Getting Started](https://helpdesk.ezmob.com/en/article/ezmob-publisher-getting-started-8gyat6)
[How to add an ad tag to <head> section in Blogger platform](https://helpdesk.ezmob.com/en/article/how-to-add-an-ad-tag-to-head-section-in-blogger-platform-1ucjo81)
[Pop Up and Pop Under Variations](https://helpdesk.ezmob.com/en/article/pop-up-and-pop-under-variations-4hok8f)
[How to optimize creatives for push notification campaign](https://helpdesk.ezmob.com/en/article/how-to-optimize-creatives-for-push-notification-campaign-3ogtl8)
[How to create an In-Page / floating push campaign](https://helpdesk.ezmob.com/en/article/how-to-create-an-in-page-floating-push-campaign-p34ifm)
