google-analytics.php
| 1 | <?php |
| 2 | /** |
| 3 | * Module Name: Google Analytics |
| 4 | * Module Description: Set up Google Analytics without touching a line of code. |
| 5 | * First Introduced: 4.5 |
| 6 | * Sort Order: 37 |
| 7 | * Requires Connection: Yes |
| 8 | * Auto Activate: No |
| 9 | * Feature: Engagement |
| 10 | * Additional Search Queries: webmaster, google, analytics, console |
| 11 | * Plans: business, premium, security, complete |
| 12 | * |
| 13 | * @package automattic/jetpack |
| 14 | */ |
| 15 | |
| 16 | use Automattic\Jetpack\Google_Analytics\GA_Manager; |
| 17 | |
| 18 | // Load the old classes for backward compatibility. |
| 19 | require __DIR__ . '/google-analytics/wp-google-analytics.php'; |
| 20 | |
| 21 | global $jetpack_google_analytics; |
| 22 | $jetpack_google_analytics = GA_Manager::get_instance(); |
| 23 |