• Customer

    Problem integrating Google analytics

    Posted by: Cactusplan Jan 17, 2017 at 19:39 (8 year ago)
    I need to add a Google Analytics tracking code in header.tpl before but when I do, error 500 appears.
    If I put it between {literal} {/ literal} it does not detect the tracking code.
    How should I do it?
    Thank you very much, greetings!

    Attached the header

    This is the code:


    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-80816658-1', 'auto');
    ga('send', 'pageview');


    header-587e72fdccf33.zip

  • Customer

    Posted by: yame, Jan 19, 2017 at 03:10 (8 year ago)

    Hi mate.

    Could you please provide us your website back end + FTP account? We need to check the problem then give you the answer later.

    Thank you.
    Yame
  • Customer

    Posted by: yame, Jan 24, 2017 at 07:44 (8 year ago)

    Hi mate,

    How is your site now?
    Do you need any assistance from support service?
    If not, we will close this ticket. Please contact again with us when you have any problems,

    Regards,
    Yame
  • Customer

    Posted by: Cactusplan, Jan 25, 2017 at 19:30 (8 year ago)

    Excuse me, I did not receive the notification of the ticket answered.
    These are the data, thank you very much!
  • Customer

    Posted by: Cactusplan, Jan 26, 2017 at 14:33 (8 year ago)

    It works, thanks anyway!
  • Customer

    Posted by: yame, Jan 27, 2017 at 02:51 (8 year ago)

    Ok mate.
    So we will close this ticket.
    If you need any assistance, please contact again to support service.

    Best regards,
    Yame

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible