{"version":3,"sources":["lib/angulartics-ga.js"],"names":["window","angular","undefined","module","config","$analyticsProvider","$windowProvider","detectUniversalAnalytics","gaNamespace","$window","GoogleAnalyticsObject","detectClassicAnalytics","isUndefined","_gaq","dimensionsAndMetrics","properties","key","customData","indexOf","dispatchToUniversal_","command","fieldsObj","shouldCopyHit","uaCommand","pluginName","userId","settings","ga","enhancedEcommerce","applyUniversalCall_","isObject","transport","id","sku","hitType","eventCategory","eventAction","nonInteraction","Array","concat","commandArray","commandClone","apply","this","copy","additionalAccountHitTypes","forEach","additionalAccountNames","accountName","dispatchToClassic_","console","log","classicCommand","page","eventLabel","eventValue","timingCategory","timingVar","timingValue","timingLabel","optSampleRate","affiliation","revenue","tax","shipping","billingCity","billingRegion","billingCountry","name","category","price","quantity","push","classicCommandClone","slice","call","getPage_","pagePathCache","location","hash","substring","pathname","$get","pageTracking","trackRelativePath","pageview","event","exception","ecommerce","userTiming","setUserProperties","disableEventTracking","disablePageTracking","registerPageTrack","path","dispatchToGa","extend","registerEventTrack","action","value","parsed","parseInt","isNaN","isFunction","hitCallback","noninteraction","label","registerExceptionTrack","error","cause","toString","stack","isException","registerSetUsername","registerSetUserProperties","registerUserTimings","isArray","prop","registerTransactionTrack","transaction","product","i","products","length","currencyCode","method","handler"],"mappings":"CAAA,SAAUA,OAAQC,QAASC,WAAY,YAOvCD,SAAQE,OAAO,gCAAiC,gBAC/CC,QAAQ,qBAAsB,kBAAmB,SAAUC,mBAAoBC,iBAkS9E,QAASC,4BAIP,GAAIC,aAAcC,QAAQC,qBAC1B,OAAOF,cAAeC,QAAQD,aAShC,QAASG,0BAGP,OAAQV,QAAQW,YAAYH,QAAQI,MAYtC,QAASC,sBAAqBC,YAE5B,GACIC,KADAC,aAGJ,KAAKD,MAAOD,YAILC,IAAIE,QAAQ,cAAiBF,IAAIE,QAAQ,YAC5CD,WAAWD,KAAOD,WAAWC,KAGjC,OAAOC,YA6CT,QAASE,sBAAqBC,QAASC,UAAWC,eAEhD,GACI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