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 #1535165
Google analytics
Closed

Comments

  •  1
    Adrianne started the conversation

    Hi and thanks, 

    Please can you advise where I put the google analytics code on my site?

    This is their instruction: 

    Website Tracking

    Global Site Tag (gtag.js)

    This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first item into the <HEAD> of every webpage you want to track. If you already have a Global Site Tag on your page, simply add the config line from the snippet below to your existing Global Site Tag.

    Does it mean I have to remove my ad code or can I have both (preferred). 

    Cheers Adrianne 

  •  2,700
    PenciDesign replied

    Hi,

    You can add the code via Customize > Logo and Header Options > Add custom code inside <head> tag


    Best Regards,

    PenciDesign

  •   Adrianne replied privately
  •  2,700
    PenciDesign replied

    Hi,

    You can add the new code below that code. Don't add <br> tag between that codes because it will make all codes there doesn't work.


    Best Regards,

    PenciDesign

  •  1
    Adrianne replied

    Thanks, but I tried that and I got this error message: 

    Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards).

    Any ideas? 


    Cheers

  •  2,700
    PenciDesign replied

    Hi,

    It's not related with our theme. You should ask google support about this.


    Best Regards,

    PenciDesign

  •  1
    Adrianne replied

    Thank-you, will do. 

  •  1
    Adrianne replied

    I figured this out and got it to work and thought I would let you in case anyone else has this problem in the future - I was posting the code after the code I already had in there. But I needed to post the google one 1st. After I did that it worked. Cheers