• alpha966123

    (@alpha966123)


    Hi. I have just downloaded this plugin and purchased the PRO upgrade.

    I’m using the GA v4 API and currently using Monster Insights with my G-XXXXX ID. When CAOS is disabled, it works fine and I can see the request to the external gtag file.

    When I enable CAOS and compatibility mode, there is no longer an external request but the request to the local gtag file is returning a 404. It seems as thought the filename is missing:

    x.com/wp-content/uploads/caos/?id=G-XXXXX

    The CAOS plugin settings is reporting that the file was correctly generated:

    Gtag-v4.js is renamed to 1acf73da.js and was last updated on 17 March 2022

    And I can confirm that the file 1acf73da.js does exist in /uploads/caos. Also the debug log looks fine:

    2022-03-17 09:22:42: Built file queue: Array
    (
        [gtag-v4] => Array
            (
                [remote] => https://www.googletagmanager.com/gtag/js?id=G-XXXXX
                [local] => /x/x/x/x/wp-content/uploads/caos/1acf73da.js
            )
    
    )
    
    2022-03-17 09:22:42: /x/x/x/x/wp-content/uploads/caos/ already exists.
    2022-03-17 09:22:42: Saving to /x/x/x/x/wp-content/uploads/caos/.
    2022-03-17 09:22:42: File 1acf73da.js successfully deleted.
    2022-03-17 09:22:42: File 1acf73da.js successfully saved.

    I’ve tried uninstalling the plugin with “Remove settings at Uninstall” and reinstalling but the problem remains. I’ve also tried uninstalling Monster Insights and using WooCommerce Google Analytics Integration but the same problem occurs.

    Also, the only cache I’m using is Litespeed Cache, which I’ve tried clearing a number of times between changes.

    Is there anything else I can try?
    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi!

    So, I’m assuming you’re using it in Compatibility Mode (since you mentioned using WC GA integration as well)?

    Can you share screenshots of settings of CAOS and WC GA Integration?

Viewing 1 replies (of 1 total)
  • The topic ‘Compatibility mode returning 404 for local file’ is closed to new replies.