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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Track site searches in Confluence Space using Google Analytics (GA4)

Teresa La
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 26, 2023

Hello Community,

I'm currently working on setting up Google Analytics 4 (GA4) to track site searches in my Confluence space. While I've successfully implemented the tracking code and can see events in GA4, I'm encountering an issue where I can't seem to view the search terms in my reports.

I've inserted the gtag.js using the HTML macro to every page. Using the same HTML macro, I've also added a basic tracking code to capture search queries from my Confluence site search form and send them to GA4. 

I'm reaching out to the community to seek guidance on resolving this issue. I'd greatly appreciate any insights, tips, or troubleshooting steps you can provide to help me ensure that the search terms are correctly captured and displayed in my GA4 reports.

Thank you in advance for your assistance!

1 answer

Hi @Teresa La

I'm not an expert here as my experience with Confluence and GA4 comes on the Cloud side. We have an app for Cloud that helps integrate Google Analytics and Confluence, and what we do to track searches is create the attached custom dimensions and obviously have activated the site search enhanced measurement.

Hopefully it helps you!

Screenshot 2023-10-26 at 16.51.07.pngScreenshot 2023-10-26 at 16.54.59.png

Teresa La
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 26, 2023 • edited Oct 27, 2023

Thank you! I figured it out :)

Like Andrés Sotomayor likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events