Google Analytics for Confluence plugin - "Who's viewed this page?" displays "No result found."

Hello all,

I have installed the plugin Google Analytics for Confluence. It was working fine till now, I assume that was correctly configured, but now when I click on "who viewed this" it doesn't show any user (and there are users that visited the page, I know this for sure)

I have the latest update version of the plugin. Is this happening to anyone else? Am I missing out something evident?

save image

2 answers

1 accepted

5 votes
David Simpson Community Champion Jun 19, 2014

Hi @Consu

Does your data collection JavaScript contain the following?

_gaq.push(['af._setCustomVar', 2, 'confluence-user-key', AJS.params.userKey, 1 ]);

...you should be able to find this in Confluence Admin | Custom HTML or by viewing the source of the page.

We can also continue this with our support system - email info@appfusions.com with updates.

Edit:

Go to the configuration screen in Confluence Admin | AppFusons-Add-Ons | Google Analytics for Confluence.

Perform Steps 1, 2 & 3. Importantly, you must review the JavaScript added in the At end of the HEAD in the Custom HTML and click the Save button.

Check that the above JavaScript now appears on the page (view source and search can help). If all is good at this point, browse some pages then wait a few hours for Google Analytics to process the results.

Hello David, and thanks.


No there is not such a line in the Custom Html. It reads

<script>
AJS.$(document).ready(function() {
  if (AJS.$('#wysiwygTextarea_ifr').length > 0) {
    AJS.$('#wysiwygTextarea_ifr').height(AJS.$('#rte').height());
  }
});
</script>

(field At the end of BODY)
where should I add that line, if at all?

David Simpson Community Champion Jun 20, 2014

@consuCheck the edits above. Mail me at info@appfusions.comif theres any further problems.

Hey Consu,

Did this happened after upgrading Confluence?

Did you tried Rebuild Confluence Content Indexes from Scratch and see if the plugin shows any data?

Thanks and Regards,

David|Atlassian Support

Hello David, thanks for the answer. Yes it did happen after an upgrade. I need to try this solution and let you know if it works!

David Simpson Community Champion Jun 19, 2014

This won't work. See my suggestion.

Yeah, check David suggestion :p.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,720 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you