Re: [ADDON] Google Analytics tracking Reply #30 – March 21, 2017, 04:27:14 am the one Jason posted should work fine, I use this addon on two forums and it works great
Re: [ADDON] Google Analytics tracking Reply #31 – March 21, 2017, 05:27:14 am Yeah I tried that too. I only need to put the UI-XXXXXXXXX-XX right? It doesnt work at all and I dont know why.
Re: [ADDON] Google Analytics tracking Reply #32 – March 21, 2017, 05:47:55 am Quote from: mmagss – March 21, 2017, 05:27:14 amI only need to put the UI-XXXXXXXXX-XX right? yes, go to Administration Center >> Configuration >> Add-on Settings >> Miscellaneous can you be more specific with:Quote from: mmagss – March 21, 2017, 05:27:14 amIt doesnt work at all?
Re: [ADDON] Google Analytics tracking Reply #33 – March 22, 2017, 12:54:08 pm Quote from: radu81 – March 21, 2017, 05:47:55 amQuote from: mmagss – March 21, 2017, 05:27:14 amI only need to put the UI-XXXXXXXXX-XX right? yes, go to Administration Center >> Configuration >> Add-on Settings >> Miscellaneous[attach]4631[/attach]can you be more specific with:Quote from: mmagss – March 21, 2017, 05:27:14 amIt doesnt work at all?Did the UA Code still show up after you clicked on save?
Re: [ADDON] Google Analytics tracking Reply #34 – March 22, 2017, 03:54:34 pm Quote from: mmagss date=1490088434 link=msg=31388] I only need to put the UI-XXXXXXXXX-XX right? [/quote] hmm... This looks different again. Try the attached one. [quote author=mmagss – March 21, 2017, 02:20:38 amgss link=msg=31384 date=1490077238]So which one works? I have tried to install and uninstall them it doesnt work at all.Usually repeat the installation doesn't really fix anything (unless a new version is involved). Quote from: mmagss – March 21, 2017, 02:20:38 am Is there a chance we can add the analytics code directly without using the addon?You can always: edit the template and put it where you prefer.
Re: [ADDON] Google Analytics tracking Reply #35 – March 22, 2017, 10:28:02 pm I use this to insert Google Analytics code: http://addons.elkarte.net/feature/BKE-Elk-Global_Header_and_Footer.html
Re: [ADDON] Google Analytics tracking Reply #36 – March 23, 2017, 04:45:04 am Quote from: mmagss – March 22, 2017, 12:54:08 pmDid the UA Code still show up after you clicked on save? yes
Re: [ADDON] Google Analytics tracking Reply #37 – September 14, 2017, 04:58:13 am I just installed this addon using the compatibility mode on 1.1 RC2 and seems to work fine
Re: [ADDON] Google Analytics tracking Reply #38 – September 28, 2017, 05:31:36 pm Quote from: mmagss – March 22, 2017, 12:54:08 pmDid the UA Code still show up after you clicked on save? i have the same problem. the code is not saved. is this fixed?--editthis one works:Quote from: emanuele – March 22, 2017, 03:54:34 pmhmm...This looks different again.Try the attached one.on the addon site: http://addons.elkarte.net/enhancement/Google-Analytics.html it's still version 0.0.1.
Re: [ADDON] Google Analytics tracking Reply #39 – September 30, 2017, 10:41:36 am emanuele has to update a lot of things.
Re: [ADDON] Google Analytics tracking Reply #40 – October 29, 2017, 06:57:03 am This is my first post, so hi everyone and thanks for this wonderful forum software.My google tracking code has 9 digits (UA-123456789-1) and I've tried this addon (versions 0.0.1 and 0.0.3) in Elk 1.0.10 and recently in 1.1 without success. I've also tried by editing GAnalytics.integrate.php and extending the regex to a broader matching (UA-\d{6,10}-\d), without success either. The global header/footer addon is a no-go because in 1.1 malforms the pages and only shows blank. Any suggestions?Edit: the tracking code is saved fine in admin/miscellaneous settings.
Re: [ADDON] Google Analytics tracking Reply #41 – October 29, 2017, 10:19:01 am Hi and welcome I've made a quick attempt to update the addon to install on 1.0 and 1.1 as well as use the async version of the GA tracking code. There was a left over debug statement in .0.0.3 that may have caused problems. I also consolidated the regex check to a string since it was used in a few spots and seems to need to be updated from time to time.Anyway give this version a try!
Re: [ADDON] Google Analytics tracking Reply #42 – October 29, 2017, 11:09:30 am Quote from: Spuds – October 29, 2017, 10:19:01 amHi and welcome I've made a quick attempt to update the addon to install on 1.0 and 1.1 as well as use the async version of the GA tracking code. There was a left over debug statement in .0.0.3 that may have caused problems. I also consolidated the regex check to a string since it was used in a few spots and seems to need to be updated from time to time.Anyway give this version a try!That did the trick! I updated the version info to 0.0.4 in package-info.xml to allow installation over existing 0.0.3 versions. Thanks a lot!@emanuele What's the easiest way for you to merge this update on Github? A pull request?