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) */