Google Conversion Code in Drupal
To include Google Conversion Code in your custom Drupal module
"mymodule", the easiest thing might be to edit the function
mymodule_footer such that it returns the Google code. I wanted this
only on the module form page itself, so I added a switch for the right
"q". Take a look at this
"mymodule", the easiest thing might be to edit the function
mymodule_footer such that it returns the Google code. I wanted this
only on the module form page itself, so I added a switch for the right
"q". Take a look at this
function mymodule_footer() {
if ($_GET['q']=="mymodule")
{
return 'YOUR CODE HERE';
}
return '';
}
danielgruen - 12. Dez, 02:20