Add Tracking JS Script

Home Forums ColorMag Pro Add Tracking JS Script

This topic contains 11 replies, has 3 voices, and was last updated by  Bishal Napit 2 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1306861

    Patrick
    Participant

    Dear Support,

    I have to add an external JS script side-wide in order to tracking everything with Google Analytics and Webtrekk. I get the script code soon.

    My question: Which location is the best to put the JS tracking code? Header or Footer?
    Shall I use a plugin in (which one?) or shall I put the code just in the editor section: footer.php?

    Thanks for the help in advance

    Greetings

    #1306869

    Bishal Napit
    Moderator

    Hi, Patrick.

    You can use the plugin: https://wordpress.org/plugins/google-analytics-for-wordpress/ available via the WordPress plugin directory to add the Google Analytics code in your site. And for the other, you can use this plugin: https://wordpress.org/plugins/insert-headers-and-footers/ also available via the WordPress plugin directory and do the same as stated by the analytics site and check. Thanks.

    #1307010

    Patrick
    Participant

    Thanks for the help. I found everything 🙂

    Do you know where I can change the 404 page?

    #1307025

    Hello Patrick,

    You need to edit the 404.php file.
    I recommend you to use a child theme for this purpose.

    Regards,
    ThemeGrill Support Team

    #1307030

    Patrick
    Participant

    Thanks,

    found and fixed it also 🙂 Top Service

    Where do I find the child theme?

    #1307056

    Bishal Napit
    Moderator

    Hi, Patrick.

    You can find the tutorial on the child theme via this link: https://themegrill.com/blog/tutorial-creating-wordpress-child-theme/.
    We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
    https://wordpress.org/support/view/theme-reviews/colormag
    Thanks.

    #1307189

    Patrick
    Participant

    1. Do you know with which account I can login to wordpress in order to make a recommendation.

    2. Today we changed our server from testserver to real server.

    The real server is https. My IT team told me that it is not compatible with https, they just check some stuff, since we cannot login.

    Do you know if there can be issues?

    #1307291

    Bishal Napit
    Moderator

    Hi, Patrick.

    Our theme is completely compatible with the https protocol. Can you be sure on this? Well, for changing from http to https may require some extra work if you are not able to login for logging in, and require lots of effort which could not get covered via this forum, and after you are successful on logging in, you can use this plugin: https://wordpress.org/plugins/really-simple-ssl/ available via the WordPress plugin directory to make your site to be totally in https protocol. Thanks.

    #1307941

    Patrick
    Participant

    Everything works fine 🙂

    1. How can I login to wordpress (which account) to rate your support?

    2. Is there an option to enable and disable globally the comment function?

    #1307953

    Bishal Napit
    Moderator

    Hi, Patrick.

    For rating the theme, first of all, you may need to register to WordPress via this link: https://login.wordpress.org/register and then you can provide the rating.
    For the commenting issue, you can try this plugin: https://wordpress.org/plugins/disable-comments/ available via the WordPress plugin directory and check?
    Thanks.

    #1307989

    Patrick
    Participant

    Actually I did download the plugin and installed it, it worked. But now I deinstalled it and the comments are not shown (We want to activate them again). This is a bit strange

    #1307990

    Bishal Napit
    Moderator

    Hi, Patrick.

    Can you follow this link: https://www.wpbeginner.com/glossary/comment/ and see if it works out for you? Thanks.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.