From b055d015f042e5cfd314de6fff9745a98efd98a6 Mon Sep 17 00:00:00 2001 From: calebfavor Date: Thu, 30 Mar 2017 13:37:33 -0700 Subject: [PATCH] Adding ga code. --- .../GoogleAnalyticsTrackingProvider.php | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/src/TrackingProviders/GoogleAnalyticsTrackingProvider.php b/src/TrackingProviders/GoogleAnalyticsTrackingProvider.php index 74a9a82..d6129c9 100644 --- a/src/TrackingProviders/GoogleAnalyticsTrackingProvider.php +++ b/src/TrackingProviders/GoogleAnalyticsTrackingProvider.php @@ -4,5 +4,95 @@ class GoogleAnalyticsTrackingProvider { + public static function getHeadTopTrackingCode() + { + } + + public static function getHeadBottomTrackingCode() + { + + } + + public static function getBodyTopTrackingCode() + { + + } + + public static function getBodyBottomTrackingCode() + { + $trackingId = config('railanalytics.providers.google-analytics.tracking-id'); + + echo + " + + "; + } + + public static function trackBase($trackGroupName) + { + + } + + public static function trackProductImpression( + $trackGroupName, + $id, + $name, + $category, + $value, + $currency = null + ) { + + } + + public static function trackProductDetailsImpression( + $trackGroupName, + $id, + $name, + $category, + $value, + $currency = null + ) { + + } + + public static function trackAddToCart( + $trackGroupName, + $id, + $name, + $category, + $value, + $quantity, + $currency = null + ) { + + } + + public static function trackInitiateCheckout() + { + + } + + public static function trackAddPaymentInformation() + { + + } + + public static function trackTransaction() + { + + } + + public static function trackRegistration() + { + + } } \ No newline at end of file