Google anlytics plugin problem

Hello
I just enabled the analytics plugin which came with x theme but i am havving error
html/wp-content/plugins/tco-google-analytics/functions/options.php on line 50

here is the site
https://kutkilisesi.com/

Thank you

Hi,

Try to reinstall it by deactivating and deleting that plugin then install it back again via X > Validation

Thanks

Hi and thank you for rely
I did it but result is the same

Hi There @Devac

I see that you have updated your Cornerstone plugin recently. Could you please try updating your X theme as well to avoid incompatibility issues. You can see our latest versions from here (https://theme.co/changelog/) and update accordingly (https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62).

Also check your PHP version running on your server and make sure to use PHP v5.6.x or later for the highest compatibility.

Let us know how it goes.
Thanks!

Updated… Still same. And no problem with php version…
And also interesting thing is…
,Before updating… My logo and menu was inside of slider… I mean transparant background etc… After i updated it it became on the slider…

Should i change code again??
ıts becoming more complicated…

Hello @Devac,

Thanks for updating the thread. :slight_smile:

Can you please share the login details in secure note for us to take a closer look regarding Google Analytics plugin?

You also have the option to add Google Analytics using custom code. Before that I suggest you to install and activate child theme. You can use following resources to download and setup child theme.

Download Child theme from following source: https://theme.co/apex/child-themes

Please take a look at following article to setup child theme:

After that add following code in child theme function.php file to setup Google Analytics code.

function third_party_tracking_code() { ?>

      <script>
       
      // Google Analytics.
      </script>

    <?php }

    add_action( 'wp_head', 'third_party_tracking_code' );  



Replace // Google Analytics. with the tracking code.

You also have the option to use Header and Footer plugin to add tracking code. Here are the details:

Note: Please note that Header and Footer plugin is not a official Themeco advice. It’s just a personal input that I have shared with you to help you get started. 3rd party plugins may cause some issues and we won’t be able to provide support in that scenario.

Thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.