Skip to content

Commit

Permalink
Merge pull request #41 from jhudsl/update_GA_info
Browse files Browse the repository at this point in the history
updating Google Analytics detail
  • Loading branch information
cansavvy authored Feb 27, 2024
2 parents 5bfe052 + befc39a commit 41a2ca5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion more_features.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Check to make sure that the terms work for you
![](resources/images/GA_Script_ID.png)

1. Add a line to the _output.yml file above the line that starts with `before body:` (i.e. nested under `includes`). This line should be `in_header: GA_Script.html`. Make sure this line is indented to the same level as the `before body:` line.
![](resources/images/output_file_with_GA.png)
![](resources/images/output_GA.png)

1. **Rerender** your course by making a change to one of your chapter RMD files in a pull request and pushing and merging the pull request. This will cause new html files to be made for each chapter in the `docs` folder. The Google Analytics code should now be in each of the html files - you can check by searching for `Google Analytics`.

Expand Down
Binary file added resources/images/output_GA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 41a2ca5

Please sign in to comment.