Skip to content

Commit

Permalink
add custom html
Browse files Browse the repository at this point in the history
  • Loading branch information
MeWu-IDM committed Jun 24, 2024
1 parent 4766804 commit ad80d08
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pacehrh/vignettes/after_body.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NK4K647"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
7 changes: 7 additions & 0 deletions pacehrh/vignettes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NK4K647');</script>
<!-- End Google Tag Manager -->
6 changes: 5 additions & 1 deletion pacehrh/vignettes/pacehrh.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
title: "Get started"
author: "Jen Schripsema"
date: '`r Sys.Date()`'
output: rmarkdown::html_vignette
output:
rmarkdown::html_vignette:
includes:
in_header: head.html
after_body: after_body.html
vignette: >
%\VignetteIndexEntry{Get started}
%\VignetteEngine{knitr::rmarkdown}
Expand Down

0 comments on commit ad80d08

Please sign in to comment.