Forum Discussion
Ashley_Freiwald
1 month agoCommunity Member
Can a Code Block in Rise 360 be used to add Google Analytics JavaScript? If so, how?
Hello!
I’m curious if anyone has successfully used a Code Block in Rise 360 to insert Google Analytics JavaScript. If so, would you be willing to share how you approached it in beginner-friendly t...
ChrisR08
17 hours agoCommunity Member
Hello!
I'm also trying to figure out if Code Block could be used for Google Analytics, which we use to track the # of visits to public-facing trainings.
I've been using the manual file modification method for some time now, but as Ashley mentioned, it's not the most sustainable process and is a challenge to maintain, especially across multiple projects and team members.
A Code Block that triggers a GA tag on load of the first lesson in the training would be ideal. I've tried testing this using Sam's code, but it doesn't seem like anything is being passed to GA.
Has anyone had any success with using the Code Block and GA? Or is this simply not possible with how Code Block functions in Rise?