Add google ads tags
This commit is contained in:
parent
271ac6cd96
commit
68713edd61
2 changed files with 16 additions and 2 deletions
|
@ -9,6 +9,15 @@
|
|||
= render_initial_state
|
||||
= javascript_pack_tag 'application', crossorigin: 'anonymous'
|
||||
|
||||
%script(src="https://www.googletagmanager.com/gtag/js?id=AW-11130587137" async)
|
||||
|
||||
:javascript
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'AW-11130587137');
|
||||
|
||||
.notranslate.app-holder#mastodon{ data: { props: Oj.dump(default_props) } }
|
||||
%noscript
|
||||
= image_pack_tag 'logo.svg', alt: 'Mastodon'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue