-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Analytics not working #45
Comments
This was |
The Google Analytics ID is correct. I see the difference is where the
|
@howardbaek can you please check if this new location fixed it? |
I see the PR corresponding to this issue was merged, so closing this issue. |
@howardbaek does this mean we confirmed that the new location works for us to see interactions now on google analytics? |
I checked the google analytics for this course, and it doesn't seem to be working. |
All these courses below put
And their GAs are responsive, so I'm assuming that's the correct location. However, I've noticed a couple other websites with the GA_Script inside
In the first website, the GA Script is named @carriewright11 Do you remember what you were seeing when rendering locally? |
(I wasn't involved in the original development of OTTR, so this may be why I'm confused.) Why do the
To my understanding, the above code needs to be placed before the closing If we include the above code inside the |
Hi @howardbaek - so glad you are looking at this and figuring out the consistency differences and what is needed.
This was the error: I tried running it locally with the |
@carriewright11 What function/button did you run when you ran it locally? A possibly separate question: I am digging deep into OTTR and bookdown and it seems like we are using the "Knit and Merge" (K-M) method to render a book since we set |
Describe what is not working with the course
The Google Analytics may not be working as well - a couple of weeks ago I moved it in a commit. Can you please fix this @howardbaek ?
The text was updated successfully, but these errors were encountered: