How to add Retargeting tag into each page? I am using drupal - 7. 

I wanted to embed &lt;script&gt; tags for Retargeting tag into each page of the Website, between the &lt;body&gt; &lt;/body&gt; tags.

I am new to Drupal. I am trying to create custom block module for this.

I have created custom module to place  tags into custom block. I am not sure what I have done is right or wrong. Can any one help me with this?

I just wanted to add script like this into each page for Retargeting tags for campaigns 

&lt;script async src="http://i.simpli.fi/dpx.js?cid=0&amp;segment=Segment+Name&amp;campaign_id=0"&gt;&lt;/script&gt; 


I have added script tag into my js file which I have called from .info file.
In my .info file I called;

scripts[] = MyCustomBlock.js


This is the code for my custom block module.

/**  * Implements hook_help().  *  * Displays help and module
information.  *  * @param path   *   Which path of the site we're
using to display help  * @param arg   *   Array that holds the current
path as returned from arg() function  */    

function MyCustomBlock_help($path, $arg) {   
  switch ($path) {
    case "admin/help#MyCustomBlock":
      return '&lt;p&gt;' . t("Displays links to nodes created on this date") . '&lt;/p&gt;';
      break;   
  } 
}

/**
* Implements hook_block_info().
*/
/**  * Declaring the block  */
function MyCustomBlock_block_info() {
  $blocks['MyCustomBlock'] = array(
    // The name that will appear in the block list.
    'info' =&gt; t('MyCustomBlock'),
    // Default setting.
    'cache' =&gt; DRUPAL_CACHE_PER_ROLE,   
  );   
  return $blocks; 
} 

/**  * Preparing for a module configuration form  * Implements
hook_menu().  */

function MyCustomBlock_menu() {   
  $items = array();

  $items['admin/config/content/MyCustomBlock'] = array(
    'title' =&gt; 'MyCustomBlock',
    'description' =&gt; 'Configuration for MyCustomBlock module',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('MyCustomBlock_form'),
    'access arguments' =&gt; array('access administration pages'),
    'type' =&gt; MENU_NORMAL_ITEM,   
  );

  return $items; 
}


/*  * Adding JavaScript from within a module  */

function MyCustomBlock_add_js($data = NULL, $options = NULL) {   
    $javascript = &amp;drupal_static(__FUNCTION__, array());   
    $jquery_added = &amp;drupal_static(__FUNCTION__ . ':jquery_added', FALSE);
}


I can see my block module in the /admin/modules section and I can enable my custom block module. But, I am not sure how to add that script into my module. 

Thanks for the help!
drupal_add_js() doesn't support the async property (there is a patch however) but the simplest solution would be to just just add that line to your html.tpl.php as Geoff suggested.