diff --git a/_config.yml b/_config.yml index 3a41d66..d1bb96f 100644 --- a/_config.yml +++ b/_config.yml @@ -69,8 +69,10 @@ netease_comment: false # ba_track_id: [your track id] # Google Tag Manager -gtm_id: "G-077BT1Q7PJ" +# gtm_id: "GTM-MCXT2HK5" + # Google Analytics +gtag_id: "G-077BT1Q7PJ" ga_track_id: "" # Format: UA-xxxxxx-xx ga_domain: diff --git a/_includes/footer.html b/_includes/footer.html index f2f46aa..5aa5f39 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -130,14 +130,24 @@ {% if site.gtm_id %} + + + +{% endif %} + +{% if site.gtag_id %} - + {% endif %}