• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / modules/google-analytics/classes/wp-google-analytics-legacy.php


Lines:

1 to 26 of 26
<?php


/**
* Jetpack_Google_Analytics_Legacy hooks and enqueues support for ga.js
* https://developers.google.com/analytics/devguides/collection/gajs/
*
* @author Aaron D. Campbell (original)
* @author allendav
*/

if ( ! defined( 'ABSPATH' ) ) {
  exit;
}

/* class Jetpack_Google_Analytics_Legacy */
/* function Jetpack_Google_Analytics_Legacy::__construct() – */
/* function Jetpack_Google_Analytics_Legacy::_get_url() – Used to generate a tracking URL
Called exclusively by insert_code */
/* function Jetpack_Google_Analytics_Legacy::insert_code() – This injects the Google Analytics code into the footer of the page. */
/* function Jetpack_Google_Analytics_Legacy::jetpack_wga_classic_anonymize_ip() – Used to filter in the anonymize IP snippet to the custom vars array for classic analytics
Ref https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApi_gat#_gat._anonymizelp */
/* function Jetpack_Google_Analytics_Legacy::jetpack_wga_classic_track_purchases() – Used to filter in the order details to the custom vars array for classic analytics */
/* function Jetpack_Google_Analytics_Legacy::jetpack_wga_classic_track_add_to_cart() – Used to add footer javascript to track user clicking on add-to-cart buttons
on single views (.single_add_to_cart_button) and list views (.add_to_cart_button) */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: modules/google-analytics/classes/wp-google-analytics-legacy.php
      Plugin ref: Jetpack
      Version: 7.9.1
      Deprecated?: No
      API Letters: A,C,G,M,W

      Related

      Published: 27 November 2019 | Last updated: 27 November 2019

      Primary Sidebar

      Information

      File name: modules/google-analytics/classes/wp-google-analytics-legacy.php
      Plugin ref: Jetpack
      Version: 7.9.1
      Deprecated?: No
      API Letters: A,C,G,M,W

      modules/google-analytics/classes

      Footer

      Jetpack a2z Jetpack a2z
      Jetpack a2z
      WordPress 5.3.1
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  jetpack.wp-a2z.org
      © Copyright Jetpack a2z 2014-2019. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites