You are here

README.txt in GA Push 8

Same filename in this branch
  1. 8 README.txt
  2. 8 modules/form_validate/README.txt
  3. 8 modules/rules_example/README.txt
Same filename and directory in other branches
  1. 7 README.txt
README.txt
-------------------------------

This module sends data to google analytics and provides an API to integrate with
other modules.

--------------------------------------------------------------------------------
 METHODS:
--------------------------------------------------------------------------------

UNIVERSAL ANALYTICS
-------------------

Requeriments:
Google Analytics 7.x-2.x https://drupal.org/project/google_analytics

- UTMP-JS:  It sends the data on client-side (next page load).
- UTMP-PHP: It sends the data on server-side.

CLASSIC ANALYTICS
-----------------

Requeriments:
Google Analytics 7.x-1.x https://drupal.org/project/google_analytics

- JS: It sends the data on client-side (next page load).

- PHP: It sends the data on server-side. One of these libraries are required:

  - PHP-GA: Recomended library only for versión 5.3+
    Requires PHP 5.3 as namespaces and closures are used.
    Download from: https://github.com/thomasbachem/php-ga
    Use the default libraries directory, usually "sites/all/libraries/",
    naming the folder "php-ga" (sites/all/libraries/php-ga).

    Example:
      /sites/all/libraries/php-ga/src/autoload.php
      /sites/all/libraries/php-ga/src/GoogleAnalytics

--------------------------------------------------------------------------------
 FEATURES:
--------------------------------------------------------------------------------

- Rules integration.
- Browser events.
- Form validate error events.

--------------------------------------------------------------------------------
 API USAGE:
--------------------------------------------------------------------------------

To push a custom query to google analytics see ga_push() function documentation.

File

README.txt
View source
  1. README.txt
  2. -------------------------------
  3. This module sends data to google analytics and provides an API to integrate with
  4. other modules.
  5. --------------------------------------------------------------------------------
  6. METHODS:
  7. --------------------------------------------------------------------------------
  8. UNIVERSAL ANALYTICS
  9. -------------------
  10. Requeriments:
  11. Google Analytics 7.x-2.x https://drupal.org/project/google_analytics
  12. - UTMP-JS: It sends the data on client-side (next page load).
  13. - UTMP-PHP: It sends the data on server-side.
  14. CLASSIC ANALYTICS
  15. -----------------
  16. Requeriments:
  17. Google Analytics 7.x-1.x https://drupal.org/project/google_analytics
  18. - JS: It sends the data on client-side (next page load).
  19. - PHP: It sends the data on server-side. One of these libraries are required:
  20. - PHP-GA: Recomended library only for versión 5.3+
  21. Requires PHP 5.3 as namespaces and closures are used.
  22. Download from: https://github.com/thomasbachem/php-ga
  23. Use the default libraries directory, usually "sites/all/libraries/",
  24. naming the folder "php-ga" (sites/all/libraries/php-ga).
  25. Example:
  26. /sites/all/libraries/php-ga/src/autoload.php
  27. /sites/all/libraries/php-ga/src/GoogleAnalytics
  28. --------------------------------------------------------------------------------
  29. FEATURES:
  30. --------------------------------------------------------------------------------
  31. - Rules integration.
  32. - Browser events.
  33. - Form validate error events.
  34. --------------------------------------------------------------------------------
  35. API USAGE:
  36. --------------------------------------------------------------------------------
  37. To push a custom query to google analytics see ga_push() function documentation.