• Resolved maxplateau

    (@maxplateau)


    Hello,
    Auto tracking code is not working for me and I’ve found a fix for that.
    It’s because my website protocol is not equal to my google analytics profile protocol.
    My website has https protocol but google analytics returned http protocol even though I ‘ve changed default url to https in my google analytics profile.
    Please change your code in class-settings.php because you should remove protocol in urls :
    if ( $current_url === $website_url ) : make sure you remove protocol in those variables.
    Thanks,

Viewing 1 replies (of 1 total)
  • Thread Starter maxplateau

    (@maxplateau)

    I’ve found a new solution so you don’t have to change your code.
    I’ve changed my google analytics protocol by editing my profile view.
    Auto tracking code is now working.
    Thanks,

Viewing 1 replies (of 1 total)
  • The topic ‘Auto tracking code not working’ is closed to new replies.