Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

using GA code for confluence server

Hi team, any one has experience in setting up the GA search queries for confluence server version? currently we are able to get the views and pages but when trying to track the search terms, its doesn't appear in the GA dashboard. i am using following in GA settings - "queryString,searchQuery.queryString" as Query parameter, "key,searchQuery.spaceKey,where" in category parameter. Let us know if anyone has any experience or idea on how to get the search keywords (if not using GA but maybe using other ways)

1 answer

0 votes


The following method is the easiest way to implement your code.

Create a new page in your space titled "Google Analytics" to hold the tracking code.
Using the wiki markup editor, add the following to that page:
{html}
javascript code copied from Google Analytics
{html}
Then, at the bottom of each page that you want Analytics to track, use the include page macro to include the Analytics tracking code page, using the name of your Google Analytics page. Place the following code at the bottom of the content on the page. For example: add {include:Google Analytics} to the bottom of your page.
It will take up to 24 hours for your data to appear in Analytics.

thanks, for the response but will it help to provide the search queries that users are typing in the search? i guess the above approach will give me the no of visits etc.

Also instead of doing it on page level, can i do it on space level ?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

26 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you