You are here

README.txt in Tracking Code 7

Tracking Code Module


Description
===========
  A module that allows admins to create tracking code snippets and control their
  visibility similar to the core Drupal block module. It can be used to inject
  arbitrary code into the <head>, and at the beginning and end of the <body>
  tag, the most common placement for tracking code.

  This module allows you to name your various tracking code snippets and 
  organize them by weight and region. Configuration of a single snippet provides
  visibility settings similar to the core Drupal block module: white/black list
  by Drupal path and content type.

  Currently there are three possible regions to inject your tracking code:
   * Inside <HEAD>  - Code added using drupal_add_html_head()
   * After <BODY> - Code added to $page['page_top'] in hook_page_alter()
   * Before </BODY> - Code added to $page['content_bottom'] in hook_page_alter()

  You can also use drag & drop functionality on the tracking code overview page 
  to change the relative weights of your snippets to make sure they execute in
  the correct order within a given region.


Configuration
=============
  * Only roles with the "administer tracking code" permission can access the
    administrative page and configure this module.
  * To configure the tracking code module, navigate to:
    Admin > Structure > Tracking Code Snippets (/admin/structure/tracking_code)
  * The "List" tab will display all the tracking code snippets you've created.
    It provides a drag & drop weight table and links for enabling/disabling a
    snippet, editing a snippet, or deleting a snippet.
  * The "Add Tracking Code" tab will display a form for creating a new snippet.
  * Once you've added a snippet, you are presented with further configuration
    options. Visibility options include Drupal path, content type, and user
    role. These options were designed to look/feel/behave similar to Drupal's
    core block module.


Acknowledgements
================
  Initial development of the tracking_code module was sponsored by Allora Media
  (http://www.alloramedia.com).

Author
======
  Joe Pitassi (http://drupal.org/user/382188, IRC: ColonelForbinX)

File

README.txt
View source
  1. Tracking Code Module
  2. Description
  3. ===========
  4. A module that allows admins to create tracking code snippets and control their
  5. visibility similar to the core Drupal block module. It can be used to inject
  6. arbitrary code into the , and at the beginning and end of the
  7. tag, the most common placement for tracking code.
  8. This module allows you to name your various tracking code snippets and
  9. organize them by weight and region. Configuration of a single snippet provides
  10. visibility settings similar to the core Drupal block module: white/black list
  11. by Drupal path and content type.
  12. Currently there are three possible regions to inject your tracking code:
  13. * Inside - Code added using drupal_add_html_head()
  14. * After - Code added to $page['page_top'] in hook_page_alter()
  15. * Before - Code added to $page['content_bottom'] in hook_page_alter()
  16. You can also use drag & drop functionality on the tracking code overview page
  17. to change the relative weights of your snippets to make sure they execute in
  18. the correct order within a given region.
  19. Configuration
  20. =============
  21. * Only roles with the "administer tracking code" permission can access the
  22. administrative page and configure this module.
  23. * To configure the tracking code module, navigate to:
  24. Admin > Structure > Tracking Code Snippets (/admin/structure/tracking_code)
  25. * The "List" tab will display all the tracking code snippets you've created.
  26. It provides a drag & drop weight table and links for enabling/disabling a
  27. snippet, editing a snippet, or deleting a snippet.
  28. * The "Add Tracking Code" tab will display a form for creating a new snippet.
  29. * Once you've added a snippet, you are presented with further configuration
  30. options. Visibility options include Drupal path, content type, and user
  31. role. These options were designed to look/feel/behave similar to Drupal's
  32. core block module.
  33. Acknowledgements
  34. ================
  35. Initial development of the tracking_code module was sponsored by Allora Media
  36. (http://www.alloramedia.com).
  37. Author
  38. ======
  39. Joe Pitassi (http://drupal.org/user/382188, IRC: ColonelForbinX)