Tagged: x
-
AuthorPosts
-
September 27, 2016 at 4:59 am #1191995
Hi X team,
On my website http://www.boukestar.nl I’m using for Google Analytics X addon. I can read the website visited information from users but get in Chrome I get the following error: No Google Analytics HTTP responses because opted out code detected.
Any idea what goes wrong?
Thanks
BoukeSeptember 27, 2016 at 5:00 am #1191997This reply has been marked as private.September 27, 2016 at 5:03 am #1191998Hey there,
Please try testing for a plugin and scripts conflict. You can do this by deactivating all third party plugins and removing all scripts and customizations, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Thanks.
September 27, 2016 at 5:22 am #1192012Hi Christian,
Deactivate every plugin one by one. Unfortunate the Google Analytics error in Chrome keeps comming up.
Haven’t used any other js scripts on my website.
Can I place the Google Analytics code manually in the file header.php ?Thanks
September 27, 2016 at 5:24 am #1192021Hi there,
Yes, you can.
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Please add following in child theme’s functions.php file :
unction third_party_tracking_code() { ?> <script> // Third party tracking code. </script> <?php } add_action( 'wp_head', 'third_party_tracking_code' );
Hope it helps.
September 27, 2016 at 6:21 am #1192083Thanks! No errors occurred anymore.
Cheers
September 27, 2016 at 6:27 am #1192095You’re welcome.
September 27, 2016 at 6:32 am #1192099Little totally other question:
How can I change the navbar hamburger icon into a other icon or restyle the (font based) icon.
I dont want a border-radius on the navbar item. I also want to make them a little bit tinner.Thanks
September 27, 2016 at 6:50 am #1192121If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
September 27, 2016 at 8:04 am #1192223Totally understand.
thanks
September 27, 2016 at 8:31 am #1192256You’re welcome.
-
AuthorPosts