Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2427067
Google Analytics
Closed

Comments

  • Decospauline started the conversation

    Hello, 

    I would like to add Google Analytics to my website. I have already pasted the "UA-..." code in the "Footer Options" section. 

    But this doesn't work, as I still need to paste the Global Site Tag to the <head> section of my site. How can I do this ? 

    Thanks. 

  •  2,700
    PenciDesign replied

    Hi,

    You just need to copy all your google analytic code and paste it to Customize > Footer Options > Google Analytics Code.

    Full google analytics code will look like this:

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-73414322-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-44444444-1');
    </script>
    

    Best Regards,

    PenciDesign

  • Decospauline replied

    Thank you very much.