backdrop-ops / backdropcms.org

Issue tracker for the BackdropCMS.org website
https://backdropcms.org
25 stars 21 forks source link

Closely watch google-analytics tracking #127

Open jenlampton opened 8 years ago

jenlampton commented 8 years ago

What should we change about the current tracking? Do we need to set up specific events?

Who is going to manage our GA results and report feedback?

Follow-up from https://github.com/backdrop-ops/backdropcms.org/issues/122

sutibun commented 8 years ago

raises hand Monkey can look over GA.

Though are you sure GA is installed and working on https://backdropcms.org/ ? I went to the homepage, looked at the source code, and don't see the usual GA tracking code.

Don't think we need to set up specific events right now (wouldn't know how anyway)

thejimbirch commented 8 years ago

I can help design and implement Events and Goals in GA.

sutibun commented 8 years ago

I can help design and implement Events and Goals in GA

Sweet. Out of curiosity @thejimbirch Do you have any particular goals & events in mind to create at the top of your head?

thejimbirch commented 8 years ago

Goals

Goals would be used to track the primary goals of the website.

Events

Events are usually used to track the actions of users on the site.

sutibun commented 8 years ago

@thejimbirch Nice! Didn't think of all those. Tracking "Download backdrop" escaped me. Something so obvious.

Events are usually used to track the actions of users on the site.

And you helped me understand Events!

You've def also helped clarify my thinking. I think the following metrics will be most important to keep an eye on for Bd

quicksketch commented 8 years ago

Though are you sure GA is installed and working on https://backdropcms.org/ ? I went to the homepage, looked at the source code, and don't see the usual GA tracking code.

I think you may be right @sutibun. I couldn't find any code on the site either. We'll set this up and get back to this issue. Anyone want to volunteer to install and set up GA on the code-side?

sutibun commented 8 years ago

Anyone want to volunteer to install and set up GA on the code-side?

If by that you mean working with Drupal templates... prob not the monkey. Can try but prob gonna take a long time and might mess something up. ^^;

But if you mean via a module then ...

raises hand

thejimbirch commented 8 years ago

Google Analytics have been added to both backdropcms.org and api.backdropcms.org

quicksketch commented 8 years ago

Yay! Thanks @thejimbirch for pushing us forward on this. Are you familiar with setting up goals in GA and adding GA event triggers to the HTML? Maybe we should get you set up with a Git checkout of the BackdropCMS.org site and database dump.

thejimbirch commented 8 years ago

Yes. I could use a DB dump. I got the main site set up locally last night and started to work on the event triggers in JS. Will hopefully have time to complete tonight.

thejimbirch commented 8 years ago

Re: Goals. Upon further inspection, I don't see much opportunity for Goals. Goals need landing pages, for which most of the actual primary goals of the site do not have (Zip Download), or are offsite Pantheon, Mailchimp).

I am working on implementing these Events:

Category > Action > Label Backdrop > Download > Page event happened on (document.title) Backdrop > Pantheon > document.title Newsletter > Subscribe > document.title Support > Submit > document.title Contact > Submit > document.title

thejimbirch commented 8 years ago

I updated my Pull Request. I realized the original one I created had extraneous files in there.

@quicksketch Please let me know when you are able to pull and I will test the GA connection.

jenlampton commented 8 years ago

@thejimbirch I had to remove the js file since it was preventing user registration. Let's do some more testing (and maybe add back those commented out functions?) and once we have it all working smoothly we can add it back in.

jenlampton commented 8 years ago

I'd love to revisit the javascript that tracks searches etc. @thejimbirch let me know if you want to spend some time together troubleshooting the code we have to get it all working smoothly :)

thejimbirch commented 8 years ago

Sorry for the delay Jen, I have been swamped with work.

Probably need a different approach for the on-site events. The script I was using is good for off-site and file links as it takes the click, registers it and then sends the user on their way. I can see how that would mess up the user reg.

jenlampton commented 8 years ago

No worries about the delay, we appreciate your help whenever you have time to give it!! :) Let's brainstorm an approach that will work - maybe another Drupal site has a good example?

Dinornis commented 7 years ago

In the spirit of supporting Open Source software, have you considered using Piwik?

What is Piwik? Piwik is a free (GPL licensed) web analytics platform, an open source alternative to Google Analytics. Drupal 6, 7 and 8 stable versions of Piwik Web Analytics are available.