How do I add Google Analytics to my community?

  • Question
  • Updated 3 years ago
  • Answered
Being a numbers geek, this announcement is particularly exciting for me. You asked us for a way to incorporate Google Analytics into your community, and last night we pushed out an enhancement that lets you do just that. If you're on any of our paid plans, you'll see this option in the Admin section of your community.

To enable Google Analytics, just follow the steps below

1. Click "Admin" at the top of your community (you won't see this if you're not a company admin)
2. Select "Company Details", and click on "Google Analytics Settings" at the bottom
3. Enter your Google Analytics UA code.



Do make sure you create a new Website Profile in Google Analytics for your community that is not being used on any other websites, as that will skew the results.
Photo of Morgan Sherwood

Morgan Sherwood

  • 34,930 Points 20k badge 2x thumb
  • excited to crunch some numbers!

Posted 4 years ago

  • 2
Photo of Jamie Kite

Jamie Kite, Champion

  • 3,282 Points 3k badge 2x thumb
I didn't notice that this had been added, but I just set it up for our account. I did make a couple of assumptions that I wasn't sure about, though....


  • Do you want me to enter the UA code of a site that exists, or one for Get Satisfaction specifically? (I assumed GS, so I entered http://help.izea.com as the Site URL in GA)

  • Do you validate UA codes? I wasn't sure if I'd entered the code the way you wanted me to, i.e. if you wanted me to enter the "UA-" part of it. There wasn't an example in the input box (maybe there should be).

  • I first looked for the Google Analytics setup under the "Stats" section of the admin. User error, but it made sense at the time...

Photo of Geysa

Geysa

  • 15,452 Points 10k badge 2x thumb
Hi Jamie, thanks for the feedback!

1) A new UA code is needed to track the community. As far as I understand Google Analytics, UA codes are tied to a URL, so it's important to create a new code for the community URL
2) We do validate the UA code, but you make a great point, we should include an example in the instructions.
3) Good point! We are thinking about redesigning the Stats page, so we'll consider adding Google Analytics set up to it.
Photo of Geysa

Geysa

  • 15,452 Points 10k badge 2x thumb
Jamie, we adjusted the copy about Google Analytics today to include an example of the tracking code, as you suggested above. Thanks again for the suggestion!
Photo of Jamie Kite

Jamie Kite, Champion

  • 3,282 Points 3k badge 2x thumb
Ah, nice! Glad to help. :)
Photo of Jacob Reiff

Jacob Reiff

  • 100 Points 100 badge 2x thumb
Thanks for the new feature. A small suggestion: I'd make it more obvious in the instructions above that the best practice is to create a new Website Profile in Google Analytics—at first I wrongly assumed I should use my site's own UA code. (Thanks @Jamie for getting that clarified!)
Photo of Morgan Sherwood

Morgan Sherwood

  • 34,930 Points 20k badge 2x thumb
Thank you for pointing that out. I'll update the instructions now.
Photo of bartB

bart

  • 60 Points
Very cool. Before I try this out, I want to make sure that I'm clear on how it would co-mingle with our other data, should we integrate it into our core GA account.

How should we expect GS to appear in our GA? When we look at the "Top Content" and "Content Drilldown" views, will all of the GS pages be bucketed into a single folder?

Thanks.

B
Photo of Morgan Sherwood

Morgan Sherwood

  • 34,930 Points 20k badge 2x thumb
As Jacob mentions, you should probably create a new GA profile and use that code for your community.

You should be able to drill down by URL slugs. Let me know if you have further questions!
Photo of Cass ChinCC

Cass Chin

  • 242 Points 100 badge 2x thumb
What exactly will Google Analytics be tracking? Does it track activity on my getsatisfaction page? Does it also include any Feedback widgets on my site?
Photo of Morgan Sherwood

Morgan Sherwood

  • 34,930 Points 20k badge 2x thumb
I believe we only have the ability to track page views on topics within your community. If someone click on the feedback widget tab on your website the GA code doesn't track that.
Photo of Nikolai Evans

Nikolai Evans

  • 630 Points 500 badge 2x thumb
I've set up GA on our second profile and reminded of this.

Really need to be able to track topic posts, replies, etc as goals in GA.

My biggest issue with GetSat's own tracking is that I can't look back historically so have to keep track in a spreadsheet (unless I'm doing something wrong). Our business is seasonal so year on year stats are important.

I was hoping GA would mean I could let go of my spreadsheet but not if I can't track behaviour over above traffic.

Cheers
Nik
Photo of Ki

Ki, Champion

  • 46,608 Points 20k badge 2x thumb
Hi Nikolai. I think the features you're looking for are available as part of our Community Health Analytics offering. If you like, I'd be happy to have someone from our outreach team contact you directly to provide you with some more information about this option.
Photo of Nikolai Evans

Nikolai Evans

  • 630 Points 500 badge 2x thumb
Thanks, Ki. We're already talking to Kat about having a multiple profile subscription, so I'll mention CHA as part of that. Cheers, Nik.
Photo of JJ

JJ

  • 74 Points
Does this take a while to propagate, or after entering the UA code should it be able to see my account?
Photo of JJ

JJ

  • 74 Points
Never mind, took about 5 minutes but seems to be set now.
Photo of Ki

Ki, Champion

  • 46,608 Points 20k badge 2x thumb
Glad to hear you got it working, JJ. Feel free to reach out if you have other questions.
Photo of Bryn Kaufman

Bryn Kaufman

  • 112 Points 100 badge 2x thumb
Where do I find the instructions for integrating with Google Analytics?

I added my GA Profile but I see above I perhaps should be creating a new profile.

Are there some instructions that go over the best practices to make this connection happen?

Perhaps a video showing the sign up process and some sample reports?
Photo of Ki

Ki, Champion

  • 46,608 Points 20k badge 2x thumb
Hi Bryn. We don't currently have a best practices guide for Google Analytics, but that's a great idea! In the meantime, have you watched this brief video on setting up the feature?
Photo of William lauWL

William lau

  • 70 Points
Hi. I'm not seeing 'Company Details' in my admin panel. Only 'Community Details'. And I've gone through the whole admin panel but there isn't a GA tab anywhere.

Where do I put in my Analytics UA code?
Photo of Ki

Ki, Champion

  • 46,608 Points 20k badge 2x thumb
You are right, William. The Company Details link was recently changed to Community Details. And that is where you will find the Google Analytics Settings link. If you need more help, please let me know the url for your community and I'll be happy to take a look.
Photo of William lauWL

William lau

  • 70 Points
Hi Ki, thanks for the reply. Could you give me your email address so we can take this offline?
Photo of JazzitJ

Jazzit

  • 204 Points 100 badge 2x thumb
Ummm ... I must be missing something. I'm on a $19 plan w Google Analytics.

But, I can't find the Google Analytics Settings link. I have the "Community Details" link, but only see options for: Basic Information, Logos&Badges, Participation Settings, Support Links, Overheard Settings and Participation Suspension Settings. None of it has Google Analytics fields in them

Community is www.getsatisfaction.com/jazzit

Thanks!
Photo of Ki

Ki, Champion

  • 46,608 Points 20k badge 2x thumb
Hi Stephen. I'm not sure why that feature wasn't enabled for your community - I turned it on for you, so you should be all set to get started now. Sorry for the inconvenience!
Photo of Rósa

Rósa

  • 80 Points 75 badge 2x thumb
I'm not sure where to post my question, so I'll just try here. I've created a seperate Website Profile for GetSatisfaction, under the same account I use to track visits to my website. I've also pasted the Google Account ID in the correct format. According to the instructions above everything should be ok.

The problem is that I can't find any data from GetSatisfaction accumulating in Google Analytics. What am I missing out on? When creating the Website Profile what should I use for Website's URL? Do I need to set up a filter of some kind?

Thanks in advance!
Photo of Amy Cottrell

Amy Cottrell, Alumni

  • 16,902 Points 10k badge 2x thumb
Hi Rósa,

I've shared your questions with the rest of the support team and someone will follow up with you shortly to help out.

Thank you for your patience! :)
Photo of Jenn Lin

Jenn Lin, Alumni

  • 20,488 Points 20k badge 2x thumb
Hi Rósa,

Can you give me the URL to your community? I will take a look at the back end to investigate.

Jenn
Photo of Rósa

Rósa

  • 80 Points 75 badge 2x thumb
It's: getsatisfaction.com/bluelagoon

Late yesterday I found some data under Content that shows up like: /bluelagoon/topics/something. That is from GetSatisfaction, right? Currently it's just mixed in with all other sub-pages on my website but I would like to view this in a separate report to identify the most sought after topics in our GetSatisfaction community. I guess I need a filter to do that, but I'm not sure how I should set that up.
Photo of Jenn Lin

Jenn Lin, Alumni

  • 20,488 Points 20k badge 2x thumb
Thanks Rósa!

Yes, that would be from our community site. Are you getting the data you expect now?

I would filter on the domain "getsatisfaction.com" to get just the community content.

Thanks!
Jenn
Photo of Rósa

Rósa

  • 80 Points 75 badge 2x thumb
Hi, I just wanted to let you know I solved the problem. I now have an excellent report in Google Analytics for GetSatisfaction topics.

This is how I did it:
Created a special profile in GA for GetSatisfaction
Pasted the GA code to my GetSatisfaction admin
Created a custom filter in my GetSatisfaction profile on GA that goes like this:
Include, Filter Field: Hostname, Filter pattern: getsatisfaction\.com
And voila!
Photo of Jenn Lin

Jenn Lin, Alumni

  • 20,488 Points 20k badge 2x thumb
Great, Rósa, thank you for sharing!
We use Kissmetrics. Is is compatible with Getsatisfaction?
Photo of Jenn Lin

Jenn Lin, Alumni

  • 20,488 Points 20k badge 2x thumb
Hi Ron!

I hope you still have that excitement, sorry it took us a while to get back to you on this!

You can use Kissmetrics in a fully customizable community, as it requires adding the specific Kissmetrics code to the page. If you would like more information about the plans that allow for fully customized pages, let me know!

Jenn
Photo of Phil PearcePP

Phil Pearce

  • 70 Points
Hi,

The Current GA integration has a BUG caused by use of inconsistent GA`s setDomainName function.

This will result in traffic source being overwritten, 2 utmz cookie are dropped rather than 1 cookie, and 2 visitor sessions are recorded rather then 1 session (that`s a very bad thing for data accuracy, btw).

--------------------------------------
Use-case code snippet...
// Your GA rolledup Tracker
_gaq.push(
['gs._setAccount', 'UA-2005202-1'],
['gs._setDomainName', 'getsatisfaction.com'], // Please CHANGE this to location.hostname
['gs._setAllowLinker', true],['gs._trackPageview']
);

// My GA account
_gaq.push(
['community._setAccount', "UA-xxxxx-2"], // double quotation mark typo
['community._setDomainName', 'none'], // Please CHANGE this to location.hostname
['community._setAllowLinker', true],['community._trackPageview']
);
--------------------------------------

Please change to
['gs._setDomainName', location.hostname],
...
['community._setDomainName', location.hostname],
To fix.

Help File:
https://developers.google.com/analyti...

Many Thanks

Phil Pearce
GA consultant
Photo of Amy Cottrell

Amy Cottrell, Alumni

  • 16,902 Points 10k badge 2x thumb
Hi Phil,

I just shared this with our tech team. Thank you for your feedback - our engineers will take a look at this as soon as possible!

Thanks,
Amy