Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter etaleem

    (@etaleem)

    Yes I can Login from here and I can see the dashboard as admin.

    How we can fix that issue error shows in my first post.

    also can you also suggest from here Can I apply Google Analytics Code. Please suggest step by step instruction so I can apply GA code for website. really appreciate your support.

    Krishna

    (@1nexus)

    If you cannot insert Google analytics code, better use a plugin like:
    https://www.ads-software.com/plugins/googleanalytics/

    Thread Starter etaleem

    (@etaleem)

    Thanks Krishna, its working now

    One last question, I want to add this line in code

    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘https://www’) + ‘.google-analytics.com/ga.js’;

    this will help to collect AGE, Gender and other metrics from Google Analytics.

    Please refer URL
    https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad

    In the current tool I cant find option to add this line, Please advise

    Krishna

    (@1nexus)

    That Google tells you to replace a certain line of code with another. So, you will have the line to be replaced in the code that you inserted now. Replace that with the above lines and reinsert to the same location.

    Thread Starter etaleem

    (@etaleem)

    Krishna, Please advise to resolve the first error

    https://iwona-wood.personalbrandexperts.com/wp-admin/

    I am able to login to WP from the alternate links, Can I resolve the above error on that main page. Please advise.

    Krishna

    (@1nexus)

    That URL seems to be a sub-domain and possibly using its own installation of WordPress, right?

    Thread Starter etaleem

    (@etaleem)

    Yes, It seems like subdomain. I am not sure exactly how the developer deploy that. But whatever we change from that sub domain update the website also.

    If both are seperate installation of WP, then how it changes in runtime. Please suggest.

    Krishna

    (@1nexus)

    Yes, it is a separate WordPress installation running an older version of WordPress.
    https://iwona-wood.personalbrandexperts.com/readme.html

    You may login to your hosting site, deactivate your theme and revert to a default WP theme and see if you can login.

    Hello, I am a newbie for wordpress but learning fast! Having the same problem here.

    I originally added a plugin for google analytics, but it didn’t update it with my code, so it’s tracking for the theme owner currently (big fail!)

    I attempted to modify the php file but I probably added the letters “an” by mistake, as when I click on “source code” it shows there:

    an<!DOCTYPE html>
    <html class=”no-js” lang=”en-US”>

    <!– head –>
    <head>

    I have no idea where that php file is, i amended it late at night, I keep clicking everywhere that says functions.php or similar to find where I saw the google code but I’m going mad, where is it sitting?

    I cannot log in to wordpress, but i can see the cpanel and go from there.

    Luckily the website works, it’s just i messed up big time the analytics thing ??

    Please help!

    I found it! wp-content/themes/betheme/muffin-options/theme-options.php

    Silly me ??

    I looked everywhere! Now I need to figure out how to get rid of the original google analytics and add mine.

    :))

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Site Error after Google Analytics Code’ is closed to new replies.