• Resolved Zade

    (@nothin7)


    I have the same issue as https://wordpress.org/support/topic/monsterinsights-stopped-tracking-utm-variables/ and it’s frustrating that I can’t see the resolution because the topic was continued in private.

    I noticed UTM parameters were missing from GA4 > Reports > Traffic acquisition after doing some manual tests on a few sites and waiting two days.

    I then replicated this on an up-to-date dummy site with no caching:

    1. Installed and connected Google Site Kit plugin and, using GA4’s DebugView tool, confirmed that loading https://wordpress.pillerdesigns.com/?utm_source=test_source7 in an Incognito window generates a page_view event within 60 seconds, with the source parameter set to “test_source7”.
    2. Closed all Incognito windows, deactivated Google Site Kit, and installed and connected MonsterInsights, without changing any settings.
    3. Loaded https://wordpress.pillerdesigns.com/?utm_source=test_source8 in a new Incognito window several times, waited several minutes, and no page_view event ever appeared.
    4. Closed all Incognito windows, deactivated MonsterInsights, reactivated Google Site Kit, and confirmed that loading https://wordpress.pillerdesigns.com/?utm_source=test_source9 in an Incognito window generates a page_view event with the source parameter set to “test_source9”.

    How can I track UTM parameters using this plugin?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Thanks for reaching out! I’m so sorry for the trouble here, and I apologize for the delay.

    Would it be possible to re-activate MonsterInsights at https://wordpress.pillerdesigns.com/ ? I’d love to take a look at how our tracking script is being inserted. This will be a big help in better understanding why UTM tracking isn’t working as expected.

    Thanks so much!

    Thread Starter Zade

    (@nothin7)

    Ok, I reactivated it.

    Just in case, here’s the <head> code, with my analytics ID changed for security:

    <!-- This site uses the Google Analytics by MonsterInsights plugin v9.9.0 - Using Analytics tracking - https://www.monsterinsights.com/ -->
    <script src="https://wordpress.org//www.googletagmanager.com/gtag/js?id=G-TQRSDTE44R" data-cfasync="false" data-wpfc-render="false" type="text/javascript" defer></script>
    <script data-cfasync="false" data-wpfc-render="false" type="text/javascript" defer src="data:text/javascript,var%20mi_version%20%3D%20%279.9.0%27%3B%0A%09%09%09%09var%20mi_track_user%20%3D%20true%3B%0A%09%09%09%09var%20mi_no_track_reason%20%3D%20%27%27%3B%0A%09%09%09%09%09%09%09%09var%20MonsterInsightsDefaultLocations%20%3D%20%7B%22page_location%22%3A%22https%3A%5C%2F%5C%2Fwordpress.pillerdesigns.com%5C%2F%22%7D%3B%0A%09%09%09%09%09%09%09%09if%20%28%20typeof%20MonsterInsightsPrivacyGuardFilter%20%3D%3D%3D%20%27function%27%20%29%20%7B%0A%09%09%09%09%09var%20MonsterInsightsLocations%20%3D%20%28typeof%20MonsterInsightsExcludeQuery%20%3D%3D%3D%20%27object%27%29%20%3F%20MonsterInsightsPrivacyGuardFilter%28%20MonsterInsightsExcludeQuery%20%29%20%3A%20MonsterInsightsPrivacyGuardFilter%28%20MonsterInsightsDefaultLocations%20%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09var%20MonsterInsightsLocations%20%3D%20%28typeof%20MonsterInsightsExcludeQuery%20%3D%3D%3D%20%27object%27%29%20%3F%20MonsterInsightsExcludeQuery%20%3A%20MonsterInsightsDefaultLocations%3B%0A%09%09%09%09%7D%0A%0A%09%09%09%09%09%09%09%09var%20disableStrs%20%3D%20%5B%0A%09%09%09%09%09%09%09%09%09%09%27ga-disable-G-TQRSDTE44R%27%2C%0A%09%09%09%09%09%09%09%09%09%5D%3B%0A%0A%09%09%09%09%2F%2A%20Function%20to%20detect%20opted%20out%20users%20%2A%2F%0A%09%09%09%09function%20__gtagTrackerIsOptedOut%28%29%20%7B%0A%09%09%09%09%09for%20%28var%20index%20%3D%200%3B%20index%20%3C%20disableStrs.length%3B%20index%2B%2B%29%20%7B%0A%09%09%09%09%09%09if%20%28document.cookie.indexOf%28disableStrs%5Bindex%5D%20%2B%20%27%3Dtrue%27%29%20%3E%20-1%29%20%7B%0A%09%09%09%09%09%09%09return%20true%3B%0A%09%09%09%09%09%09%7D%0A%09%09%09%09%09%7D%0A%0A%09%09%09%09%09return%20false%3B%0A%09%09%09%09%7D%0A%0A%09%09%09%09%2F%2A%20Disable%20tracking%20if%20the%20opt-out%20cookie%20exists.%20%2A%2F%0A%09%09%09%09if%20%28__gtagTrackerIsOptedOut%28%29%29%20%7B%0A%09%09%09%09%09for%20%28var%20index%20%3D%200%3B%20index%20%3C%20disableStrs.length%3B%20index%2B%2B%29%20%7B%0A%09%09%09%09%09%09window%5BdisableStrs%5Bindex%5D%5D%20%3D%20true%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%0A%09%09%09%09%2F%2A%20Opt-out%20function%20%2A%2F%0A%09%09%09%09function%20__gtagTrackerOptout%28%29%20%7B%0A%09%09%09%09%09for%20%28var%20index%20%3D%200%3B%20index%20%3C%20disableStrs.length%3B%20index%2B%2B%29%20%7B%0A%09%09%09%09%09%09document.cookie%20%3D%20disableStrs%5Bindex%5D%20%2B%20%27%3Dtrue%3B%20expires%3DThu%2C%2031%20Dec%202099%2023%3A59%3A59%20UTC%3B%20path%3D%2F%27%3B%0A%09%09%09%09%09%09window%5BdisableStrs%5Bindex%5D%5D%20%3D%20true%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%0A%09%09%09%09if%20%28%27undefined%27%20%3D%3D%3D%20typeof%20gaOptout%29%20%7B%0A%09%09%09%09%09function%20gaOptout%28%29%20%7B%0A%09%09%09%09%09%09__gtagTrackerOptout%28%29%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09window.dataLayer%20%3D%20window.dataLayer%20%7C%7C%20%5B%5D%3B%0A%0A%09%09%09%09window.MonsterInsightsDualTracker%20%3D%20%7B%0A%09%09%09%09%09helpers%3A%20%7B%7D%2C%0A%09%09%09%09%09trackers%3A%20%7B%7D%2C%0A%09%09%09%09%7D%3B%0A%09%09%09%09if%20%28mi_track_user%29%20%7B%0A%09%09%09%09%09function%20__gtagDataLayer%28%29%20%7B%0A%09%09%09%09%09%09dataLayer.push%28arguments%29%3B%0A%09%09%09%09%09%7D%0A%0A%09%09%09%09%09function%20__gtagTracker%28type%2C%20name%2C%20parameters%29%20%7B%0A%09%09%09%09%09%09if%20%28%21parameters%29%20%7B%0A%09%09%09%09%09%09%09parameters%20%3D%20%7B%7D%3B%0A%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09if%20%28parameters.send_to%29%20%7B%0A%09%09%09%09%09%09%09__gtagDataLayer.apply%28null%2C%20arguments%29%3B%0A%09%09%09%09%09%09%09return%3B%0A%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09if%20%28type%20%3D%3D%3D%20%27event%27%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09parameters.send_to%20%3D%20monsterinsights_frontend.v4_id%3B%0A%09%09%09%09%09%09%09var%20hookName%20%3D%20name%3B%0A%09%09%09%09%09%09%09if%20%28typeof%20parameters%5B%27event_category%27%5D%20%21%3D%3D%20%27undefined%27%29%20%7B%0A%09%09%09%09%09%09%09%09hookName%20%3D%20parameters%5B%27event_category%27%5D%20%2B%20%27%3A%27%20%2B%20name%3B%0A%09%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09%09if%20%28typeof%20MonsterInsightsDualTracker.trackers%5BhookName%5D%20%21%3D%3D%20%27undefined%27%29%20%7B%0A%09%09%09%09%09%09%09%09MonsterInsightsDualTracker.trackers%5BhookName%5D%28parameters%29%3B%0A%09%09%09%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09%09%09%09__gtagDataLayer%28%27event%27%2C%20name%2C%20parameters%29%3B%0A%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09%09%09__gtagDataLayer.apply%28null%2C%20arguments%29%3B%0A%09%09%09%09%09%09%7D%0A%09%09%09%09%09%7D%0A%0A%09%09%09%09%09__gtagTracker%28%27js%27%2C%20new%20Date%28%29%29%3B%0A%09%09%09%09%09__gtagTracker%28%27set%27%2C%20%7B%0A%09%09%09%09%09%09%27developer_id.dZGIzZG%27%3A%20true%2C%0A%09%09%09%09%09%09%09%09%09%09%09%7D%29%3B%0A%09%09%09%09%09if%20%28%20MonsterInsightsLocations.page_location%20%29%20%7B%0A%09%09%09%09%09%09__gtagTracker%28%27set%27%2C%20MonsterInsightsLocations%29%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%09__gtagTracker%28%27config%27%2C%20%27G-TQRSDTE44R%27%2C%20%7B%22forceSSL%22%3A%22true%22%2C%22link_attribution%22%3A%22true%22%7D%20%29%3B%0A%09%09%09%09%09%09%09%09%09%09window.gtag%20%3D%20__gtagTracker%3B%09%09%09%09%09%09%09%09%09%09%28function%20%28%29%20%7B%0A%09%09%09%09%09%09%2F%2A%20https%3A%2F%2Fdevelopers.google.com%2Fanalytics%2Fdevguides%2Fcollection%2Fanalyticsjs%2F%20%2A%2F%0A%09%09%09%09%09%09%2F%2A%20ga%20and%20__gaTracker%20compatibility%20shim.%20%2A%2F%0A%09%09%09%09%09%09var%20noopfn%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09return%20null%3B%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09var%20newtracker%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09return%20new%20Tracker%28%29%3B%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09var%20Tracker%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09return%20null%3B%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09var%20p%20%3D%20Tracker.prototype%3B%0A%09%09%09%09%09%09p.get%20%3D%20noopfn%3B%0A%09%09%09%09%09%09p.set%20%3D%20noopfn%3B%0A%09%09%09%09%09%09p.send%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09var%20args%20%3D%20Array.prototype.slice.call%28arguments%29%3B%0A%09%09%09%09%09%09%09args.unshift%28%27send%27%29%3B%0A%09%09%09%09%09%09%09__gaTracker.apply%28null%2C%20args%29%3B%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09var%20__gaTracker%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09var%20len%20%3D%20arguments.length%3B%0A%09%09%09%09%09%09%09if%20%28len%20%3D%3D%3D%200%29%20%7B%0A%09%09%09%09%09%09%09%09return%3B%0A%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09var%20f%20%3D%20arguments%5Blen%20-%201%5D%3B%0A%09%09%09%09%09%09%09if%20%28typeof%20f%20%21%3D%3D%20%27object%27%20%7C%7C%20f%20%3D%3D%3D%20null%20%7C%7C%20typeof%20f.hitCallback%20%21%3D%3D%20%27function%27%29%20%7B%0A%09%09%09%09%09%09%09%09if%20%28%27send%27%20%3D%3D%3D%20arguments%5B0%5D%29%20%7B%0A%09%09%09%09%09%09%09%09%09var%20hitConverted%2C%20hitObject%20%3D%20false%2C%20action%3B%0A%09%09%09%09%09%09%09%09%09if%20%28%27event%27%20%3D%3D%3D%20arguments%5B1%5D%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09if%20%28%27undefined%27%20%21%3D%3D%20typeof%20arguments%5B3%5D%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09hitObject%20%3D%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09%09%27eventAction%27%3A%20arguments%5B3%5D%2C%0A%09%09%09%09%09%09%09%09%09%09%09%09%27eventCategory%27%3A%20arguments%5B2%5D%2C%0A%09%09%09%09%09%09%09%09%09%09%09%09%27eventLabel%27%3A%20arguments%5B4%5D%2C%0A%09%09%09%09%09%09%09%09%09%09%09%09%27value%27%3A%20arguments%5B5%5D%20%3F%20arguments%5B5%5D%20%3A%201%2C%0A%09%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09if%20%28%27pageview%27%20%3D%3D%3D%20arguments%5B1%5D%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09if%20%28%27undefined%27%20%21%3D%3D%20typeof%20arguments%5B2%5D%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09hitObject%20%3D%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09%09%27eventAction%27%3A%20%27page_view%27%2C%0A%09%09%09%09%09%09%09%09%09%09%09%09%27page_path%27%3A%20arguments%5B2%5D%2C%0A%09%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09if%20%28typeof%20arguments%5B2%5D%20%3D%3D%3D%20%27object%27%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09hitObject%20%3D%20arguments%5B2%5D%3B%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09if%20%28typeof%20arguments%5B5%5D%20%3D%3D%3D%20%27object%27%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09Object.assign%28hitObject%2C%20arguments%5B5%5D%29%3B%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09if%20%28%27undefined%27%20%21%3D%3D%20typeof%20arguments%5B1%5D.hitType%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09hitObject%20%3D%20arguments%5B1%5D%3B%0A%09%09%09%09%09%09%09%09%09%09if%20%28%27pageview%27%20%3D%3D%3D%20hitObject.hitType%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09hitObject.eventAction%20%3D%20%27page_view%27%3B%0A%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09if%20%28hitObject%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09action%20%3D%20%27timing%27%20%3D%3D%3D%20arguments%5B1%5D.hitType%20%3F%20%27timing_complete%27%20%3A%20hitObject.eventAction%3B%0A%09%09%09%09%09%09%09%09%09%09hitConverted%20%3D%20mapArgs%28hitObject%29%3B%0A%09%09%09%09%09%09%09%09%09%09__gtagTracker%28%27event%27%2C%20action%2C%20hitConverted%29%3B%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09return%3B%0A%09%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09%09function%20mapArgs%28args%29%20%7B%0A%09%09%09%09%09%09%09%09var%20arg%2C%20hit%20%3D%20%7B%7D%3B%0A%09%09%09%09%09%09%09%09var%20gaMap%20%3D%20%7B%0A%09%09%09%09%09%09%09%09%09%27eventCategory%27%3A%20%27event_category%27%2C%0A%09%09%09%09%09%09%09%09%09%27eventAction%27%3A%20%27event_action%27%2C%0A%09%09%09%09%09%09%09%09%09%27eventLabel%27%3A%20%27event_label%27%2C%0A%09%09%09%09%09%09%09%09%09%27eventValue%27%3A%20%27event_value%27%2C%0A%09%09%09%09%09%09%09%09%09%27nonInteraction%27%3A%20%27non_interaction%27%2C%0A%09%09%09%09%09%09%09%09%09%27timingCategory%27%3A%20%27event_category%27%2C%0A%09%09%09%09%09%09%09%09%09%27timingVar%27%3A%20%27name%27%2C%0A%09%09%09%09%09%09%09%09%09%27timingValue%27%3A%20%27value%27%2C%0A%09%09%09%09%09%09%09%09%09%27timingLabel%27%3A%20%27event_label%27%2C%0A%09%09%09%09%09%09%09%09%09%27page%27%3A%20%27page_path%27%2C%0A%09%09%09%09%09%09%09%09%09%27location%27%3A%20%27page_location%27%2C%0A%09%09%09%09%09%09%09%09%09%27title%27%3A%20%27page_title%27%2C%0A%09%09%09%09%09%09%09%09%09%27referrer%27%20%3A%20%27page_referrer%27%2C%0A%09%09%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09%09%09for%20%28arg%20in%20args%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09if%20%28%21%28%21args.hasOwnProperty%28arg%29%20%7C%7C%20%21gaMap.hasOwnProperty%28arg%29%29%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09hit%5BgaMap%5Barg%5D%5D%20%3D%20args%5Barg%5D%3B%0A%09%09%09%09%09%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09%09%09%09%09%09hit%5Barg%5D%20%3D%20args%5Barg%5D%3B%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09return%20hit%3B%0A%09%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09%09try%20%7B%0A%09%09%09%09%09%09%09%09f.hitCallback%28%29%3B%0A%09%09%09%09%09%09%09%7D%20catch%20%28ex%29%20%7B%0A%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09__gaTracker.create%20%3D%20newtracker%3B%0A%09%09%09%09%09%09__gaTracker.getByName%20%3D%20newtracker%3B%0A%09%09%09%09%09%09__gaTracker.getAll%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09%09%09%09return%20%5B%5D%3B%0A%09%09%09%09%09%09%7D%3B%0A%09%09%09%09%09%09__gaTracker.remove%20%3D%20noopfn%3B%0A%09%09%09%09%09%09__gaTracker.loaded%20%3D%20true%3B%0A%09%09%09%09%09%09window%5B%27__gaTracker%27%5D%20%3D%20__gaTracker%3B%0A%09%09%09%09%09%7D%29%28%29%3B%0A%09%09%09%09%09%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09%09%09%09%09%09console.log%28%22%22%29%3B%0A%09%09%09%09%09%28function%20%28%29%20%7B%0A%09%09%09%09%09%09function%20__gtagTracker%28%29%20%7B%0A%09%09%09%09%09%09%09return%20null%3B%0A%09%09%09%09%09%09%7D%0A%0A%09%09%09%09%09%09window%5B%27__gtagTracker%27%5D%20%3D%20__gtagTracker%3B%0A%09%09%09%09%09%09window%5B%27gtag%27%5D%20%3D%20__gtagTracker%3B%0A%09%09%09%09%09%7D%29%28%29%3B%0A%09%09%09%09%09%09%09%09%09%7D"></script>
    <!-- / Google Analytics by MonsterInsights -->
    Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Thank you for making that adjustment.

    I tried to visit the site but noticed the message “There has been a critical error on this website”. Out of curiosity, do you have any details on what’s causing this error?

    Thanks.

    Thread Starter Zade

    (@nothin7)

    Sorry; I was working on something else. The site is loading again now.

    Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Thanks for the update.

    I was able to try out “mi_test” and see the UTM parameter being passed along while using tagassistant.google.com — https://a.supportally.com/i/PxzYE3

    From what I can see, tracking of UTMs should work but if you notice this value doesn’t make it through to your Google Analytics reports after some time, our team will be happy to investigate things further if you can please reach out to us directly at https://www.monsterinsights.com/get-help/ .

    Thank you!

    Thread Starter Zade

    (@nothin7)

    I’d prefer to keep this public so it benefits others as well.

    In your screenshot, I don’t see “Source” in the “Name” column (if it were there, it should have a Value of “mi_test”). The only place I see it is in the Page Location—that’s not a UTM parameter.

    Also, for this to be a realistic test, please remove parameters like “gtm_debug” that would not be included when a customer clicks an ad. I provided step-by-step instructions; instead of moving us in new directions perhaps you could repeat the test I did using GA4’s DebugView tool?

    Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Sorry for any confusion. The Tag Assistant mainly checks that tracking tags are firing correctly on a website. It doesn’t automatically process URL parameters, but it’s helpful for verifying any captured parameters are being passed through as expected.

    Since DebugView only works within the property itself, I used a test Google Analytics property and a test website to demonstrate how it looks from my end:

    1. Tag Assistant shows the UTM parameters are passed along: https://a.supportally.com/i/dhqdJA
    2. Focusing on source, the Realtime report of the Google Analytics property shows the value comes through: https://a.supportally.com/i/xfONJO
    3. DebugView shows the same thing: https://a.supportally.com/i/Nsr92r
    4. After enough time has passed, I’m able to see the value in standard reporting: https://a.supportally.com/i/noEMFi

    I hope this helps, but let me know how I can continue to assist.

    Thank you.

    Thread Starter Zade

    (@nothin7)

    Hi @devmich,

    Thanks for confirming that you’re seeing utm_source in DebugView. I dug deeper and discovered this is a conflict between your plugin and FlyingPress, even when I’ve disabled all relevant FlyingPress optimizations (screenshot) and purged the entire cache. Somehow Site Kit by Google is able to work with FlyingPress but MonsterInsights does not. Let me know if you’re able to figure out what’s different.

    Before you respond with a link to FlyingPress’ documentation on Ignored Query Parameters, remember that these ignored GA4 parameters do work with Google’s Site Kit plugin. I’m also aware that adding utm_source to FlyingPress’ Separate Cache for Query Parameters setting might fix the problem, but this isn’t ideal for performance reasons. As mentioned in FlyingPress’ documentation on Customize Ignored Query Parameters, “Ignoring them prevents duplicate cache entries and improves cache efficiency.”

    Cheers,

    Robert

    Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Thanks for letting us know.

    Since MonsterInsights takes a more advanced approach to analytics beyond basic tracking needs, it may behave differently in comparison. But I appreciate the information shared and understand your preference.

    At this time we don’t have plans to make changes since FlyingPress provides a setting intended to address this scenario, however, our upcoming release will include a new filter that may help improve flexibility in setups like this. It isn’t meant to replace the FlyingPress setting but I’ll post an update here once it’s out.

    Thank you.

    Plugin Support Michelle D.

    (@devmich)

    Hi @nothin7,

    Just sharing that we have a new filter you can try using to help with the issue. It’s available in the latest version of MonsterInsights:

    add_filter('monsterinsights_is_utm_stripped_server', '__return_true');

    Thank you.

    Thread Starter Zade

    (@nothin7)

    Well done, I am now able to see UTM parameters in DebugView with FlyingPress!

    By the way, I further narrowed the conflict to FlyingPress’ Cloudflare Page Caching feature. With that feature disabled, I’m able to see UTM parameters with or without your filter. But I definitely want to use Page Caching to reduce server load and TTFB.

    Thanks! No need to reply.

Viewing 11 replies - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.