গুগল অ্যানালিটিক্স ট্র্যাকিং এপিআই দুটি গ্লোবাল অবজেক্ট নিয়ে গঠিত; স্ট্যান্ডার্ড ট্র্যাকিংয়ের জন্য _gat
এবং অ্যাসিঙ্ক্রোনাস ট্র্যাকিংয়ের জন্য _gaq
। এই উভয় গ্লোবাল অবজেক্টে ট্র্যাকার অবজেক্ট তৈরির পদ্ধতি রয়েছে। ট্র্যাকার অবজেক্টগুলি আপনার পৃষ্ঠাগুলি ট্র্যাক করতে ব্যবহৃত হয় এবং সেই ট্র্যাকিং কীভাবে কাজ করবে তা কনফিগার করার জন্য তাদের অনেক পদ্ধতি রয়েছে।
এই পৃষ্ঠাটি _gat
, _gaq
, এবং ট্র্যাকার অবজেক্টে উপলব্ধ সমস্ত পদ্ধতির একটি সম্পূর্ণ রেফারেন্স।
_gat অবজেক্ট পদ্ধতি
-
_getTracker (account)
হয়েছে -
_createTracker (opt_account, opt_name)
-
_getTrackerByName (opt_name)
-
_anonymizeIp ()
_gaq অবজেক্ট পদ্ধতি
-
_createAsyncTracker (accountId, opt_name)
অবহেলিত -
_getAsyncTracker (opt_name)
অবচিত -
push (commandArray)
ট্র্যাকার অবজেক্ট পদ্ধতি
-
_addIgnoredOrganic (newIgnoredOrganicKeyword)
-
_addIgnoredRef (newIgnoredReferrer)
-
_addItem (transactionId, sku, name, category, price, quantity)
-
_addOrganic (newOrganicEngine, newOrganicKeyword, opt_prepend)
-
_addTrans (transactionId, affiliation, total, tax, shipping, city, state, country)
-
_clearIgnoredOrganic ()
-
_clearIgnoredRef ()
-
_clearOrganic ()
-
_cookiePathCopy (newPath)
-
_deleteCustomVar (index)
-
_getName ()
-
_setAccount ()
-
_getAccount ()
-
_getClientInfo (1)
-
_getDetectFlash (1)
-
_getDetectTitle (1)
-
_getLinkerUrl (targetUrl, useHash)
-
_getLocalGifPath ()
-
_getServiceMode ()
-
_getVersion ()
-
_getVisitorCustomVar (index)
-
_initData ()
অবচয় -
_link (targetUrl, useHash)
-
_linkByPost (formObject, useHash)
-
_setAllowAnchor (bool)
-
_setAllowHash (bool)
অবচিত -
_setAllowLinker (bool)
-
_setCampContentKey (newCampContentKey)
-
_setCampMediumKey (newCampMedKey)
-
_setCampNameKey (newCampNameKey)
-
_setCampNOKey (newCampNOKey)
-
_setCampSourceKey (newCampSrcKey)
-
_setCampTermKey (newCampTermKey)
-
_setCampaignCookieTimeout (cookieTimeoutMillis)
-
_setCampaignTrack (bool)
-
_setClientInfo (bool)
-
_setCookiePath (newCookiePath)
-
_setCookiePersistence (milliseconds)
অবচয় -
_setCookieTimeout (newDefaultTimeout)
অবচিত -
_setCustomVar (index, name, value, opt_scope)
-
_setDetectFlash (bool)
-
_setDetectTitle (bool)
-
_setDomainName (newDomainName)
-
_setLocalGifPath (newLocalGifPath)
-
_setLocalRemoteServerMode ()
-
_setLocalServerMode ()
-
_setReferrerOverride (newReferrerUrl)
-
_setRemoteServerMode ()
-
_setSampleRate (newRate)
-
_setSessionTimeout (newTimeout)
অবহেলিত -
_setSiteSpeedSampleRate (sampleRate)
-
_setSessionCookieTimeout (cookieTimeoutMillis)
-
_setVar (newVal)
অবচিত -
_setVisitorCookieTimeout (cookieTimeoutMillis)
-
_storeGac (bool)
-
_trackEvent (category, action, opt_label, opt_value, opt_noninteraction)
-
_trackPageLoadTime ()
হয়েছে -
_trackPageview (opt_pageURL)
-
_trackSocial (network, socialAction, opt_target, opt_pagePath)
-
_trackTiming (category, variable, time, opt_label, opt_sampleRate)
-
_trackTrans ()