GA send Event not working · Issue #1120 · google/site-kit-wp

文章推薦指數: 80 %
投票人數:10人

Bug Description We have connected Google Analytics and have added event tracking on various places on our site but the same isn't showing in ... Skiptocontent {{message}} google / site-kit-wp Public Notifications Fork 239 Star 1.1k Code Issues 347 Pullrequests 46 Actions Wiki Security Insights More Code Issues Pullrequests Actions Wiki Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom GAsendEventnotworking #1120 Closed gounderopenedthisissue Feb11,2020 ·8comments Closed GAsendEventnotworking #1120 gounderopenedthisissue Feb11,2020 ·8comments Assignees Labels Type:Enhancement Improvementofanexistingfeature Comments Copylink gounder commented Feb11,2020 BugDescription WehaveconnectedGoogleAnalyticsandhaveaddedeventtrackingonvariousplacesonoursitebutthesameisn'tshowinginGoogleAnalytics.OninvestigatingwerealizedAnalyticsisaddedusingtheGoogleTagManagercodewhichdoeseventtrackingdifferentlyi.e.theyhavetobecreatedinGoogleTagManageritself,butaswehaveconnectedAnalyticsandnottagmanager,wedon'thaveacontainertoaddtheeventsinGTM. Stepstoreproduce Contactform7hasthetutorialtotrackformsubmissions-https://contactform7.com/tracking-form-submissions-with-google-analytics/ Screenshots AdditionalContext Donotalterorremoveanythingbelow.Thefollowingsectionswillbemanagedbymoderatorsonly. Acceptancecriteria ImplementationBrief QABrief Changelogentry Thetextwasupdatedsuccessfully,buttheseerrorswereencountered: Copylink Collaborator jamesozzie commented Feb12,2020 @gounderThanksforreporting,andgreattoseeyoumakinguseoftheplugin!There'sanopenfeaturerequest(#26)thatdealswithadditionaloptionsusingtheAnalyticsmodule. I'llchaseupforanyupdatesonthismatterandreportbackonthatissue.Inthemeantimeyoucankeepwatchofthatrelatedissueoraddyourinputthere. Sorry,somethingwentwrong. jamesozzie closedthisascompleted Feb12,2020 Copylink Author gounder commented Feb12,2020 Hi@jamesozzie WhatImeantisthereisnowayforsomeonetohavecustomeventsbeingsenttoGAiftheydon'tuseTagManager. SitekitoffersbothGAconnectionandGTMconnection,butisonlyimplementingusingGTM,whichleavessomeonewhoseconnectedusingGAwithoutanyoptionforeventtracking,manyhaveusedeventtrackingonContactform7. Maybethere'sabetterwaytohandlethis,ifsomeoneconnectsGAthenaGAuniversalcodeshouldbeandifGTMthentheGTMcode... Ididseethefeaturerequest,butthat'saskingforeventstobeautomaticallyaddedlikeit'sdoneintheMonsterInsightspluginforDownloadsandOutboundLinkclicks. Sorry,somethingwentwrong. jamesozzie reopenedthis Feb12,2020 Copylink Collaborator jamesozzie commented Feb12,2020 @gounderCorrectthatatpresentusingTagManagerisrequiredforsucheventtracking.I'veaddedthisasaproductenhancementfortheteamtodiscuss.Thanksforthesuggestion. 👍 2 gounderandtommieknreactedwiththumbsupemoji Sorry,somethingwentwrong. jamesozzie added the Type:Enhancement Improvementofanexistingfeature label Feb12,2020 Copylink gabrielstuff commented May11,2020 hello,justbumpingonthat.Wastryingtosimplyaddsomegatrackingbasedonthefollowingdoc:https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration Afterfutherreading,IunderstoodthattheGTMmethodsisusedandsooneshouldonlyfollowmethodsdescribedthere:https://support.google.com/tagmanager/answer/6106716?hl=en&ref_topic=6333310tobuildcustomevent? Sorry,somethingwentwrong. Copylink tommiekn commented Jul1,2020 Hi,@jamesozzietherewasanyupdateregardingthisfeatureandapossibleimplementation?agreeingwith@gounderthatsabitoflimitationforwhomdoesntusetagmanager Sorry,somethingwentwrong. aaemnnosttv added the TeamReview Issueneedstobereviewedbyteamfortriaging label Apr5,2021 marrrmarrr self-assignedthis Apr20,2021 marrrmarrr removed the TeamReview Issueneedstobereviewedbyteamfortriaging label Apr27,2021 Copylink Collaborator marrrmarrr commented Jun9,2021 Hi@gounderandeveryoneelsewhochimedinheresofar,itseemsthatthemainlimitationhereisaroundthetypeofsnippet--SiteKitusesgtag.js,whereasyouseemtobereferringtotheolderanalytics.js(oratleastthat'swhat'sreferencedintheContactForm7helparticleyoulinked). Areyouusuinganalytics.js,andifyesisitfeasibleforyoutoupgradetheGAimplementationtogtag.js? Sorry,somethingwentwrong. Copylink Collaborator marrrmarrr commented Jul7,2021 Hi@gounderandeveryone, I'llbeclosingthisfornow,ifyoudohappentoreadthecommentshavealookattheGAdocs,andletusknowifyouhavemorequestions. Sorry,somethingwentwrong. marrrmarrr closedthisascompleted Jul7,2021 Copylink tommiekn commented Jul8,2021 • edited hi@marrrmarrr, Iamthedeveloperofawordpresspluginthatworkedwellwithga()events,itworkedwellaswellwithotheranalyticspluginsthatusesgtagsafterihaveupdatedtogtag()events. However,withsitekitican'thappentomakeitwork. I'musingGAdebugtofigureoutthecalls,aswellTagAssistant,eventsgetsfiredbutneverarriveongtag/analytics. Couldyoupleaseadviseifineedtochangetheimplementationsomehow?Setadefaultmeasurementidwitha"send_to"commandintheevent? ThelinkedtagmanagerinSitekitisanemptyproperty,akatheresnosettings. AttachedthelogfromGAdebug.Tagassistantisjustempty. Overtheendtheresanexampleofeventfired. GoalhereistohaveagtagfunctionthatworkswithGsitewithdefaultsettings. gtaglog.log Sorry,somethingwentwrong. Signupforfree tojointhisconversationonGitHub. Alreadyhaveanaccount? Signintocomment Assignees marrrmarrr Labels Type:Enhancement Improvementofanexistingfeature Projects Noneyet Milestone Nomilestone Development Nobranchesorpullrequests 6participants Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?