railroadmedia / railanalytics by calebfavor

Laravel analytics system for using tracking code in your application for google analytics/adwords, facebook pixel, etc.
93,803
1
2
Package Data
Maintainer Username: calebfavor
Package Create Date: 2017-03-30
Package Last Update: 2024-09-05
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:17:42
Package Statistics
Total Downloads: 93,803
Monthly Downloads: 522
Daily Downloads: 18
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

railanalytics

Laravel analytics system for using tracking code in your application for google analytics/adwords, facebook pixel, etc.

TrackProvider

  • GoogleAnalyticsTrackProvider
  • GoogleAdwordsTrackProvider
  • GoogleTagManagerTrackProvider
  • FacebookPixelTrackProvider

functions:

  • GetHeadTopTrackingCode
  • GetHeadBottomTrackingCode
  • GetBodyTopTrackingCode
  • GetBodyBottomTrackingCode
  • TrackBase
  • TrackProductImpression
  • TrackAddToCart
  • TrackInitiateCheckout
  • TrackAddPaymentInformation
  • TrackTransaction
  • TrackRegistration

Track

  • GetHeadTopTrackingCode($trackGroupName)
  • GetHeadBottomTrackingCode($trackGroupName)
  • GetBodyTopTrackingCode($trackGroupName)
  • GetBodyBottomTrackingCode($trackGroupName)
  • TrackBase($trackGroupName)
  • TrackProductImpression($trackGroupName, $id, $name, $category, $value, $currency = null)
  • TrackProductDetailsImpression($trackGroupName, $id, $name, $category, $value, $currency = null)
  • TrackAddToCart($trackGroupName, $id, $name, $category, $value, $quantity, $currency = null)
  • TrackInitiateCheckout
  • TrackAddPaymentInformation
  • TrackTransaction
  • TrackRegistration