Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter andersbolander

    (@andersbolander)

    Thanks for the quick response.

    Thread Starter andersbolander

    (@andersbolander)

    Sorry for the late feed back. I have been very busy, so please accept my apologies.

    About the possibility of different thank-you pages; We only have one type.

    We have been running logs to see what is happening. We have compared Woo to Piwik on Nov. 13th, where 5 out of 41 orders should have been recorded in Piwik since all logs, including the GTMKit one, show that the dataLayer should have been set. We have other issues where nothing is logged, and we are looking into user behavior. I.e. if the window is closed before the thank-you page is called.

    To verify the thank-you page we have used this code:

    1. if ($is_order_received_page ){ error_log("iverok $place is order receieved by way of woo"); return true; }`</li> <li><code>` “GET /kasse/ordre-mottatt/85108/?key=wc_order_IYcKUlRL4i3In

    These five objects have been logged by our server and GTMKit. In our server we have logged that the request is registered by the webserver/NGIX and that the thank-you page is ok.

    The GTMKit logg.

    1. 2025-11-13T17:17:55+00:00 INFO Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 84729`</li> <li><code>2025-11-13T13:04:40+00:00 INFO Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 84717 [value] => 954</code></li> <li><code>2025-11-13T11:47:02+00:00 INFO Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 84716 [value] => 747.18 [tax] => 105.04 [shipping] => 87.2 [currency] => NOK</code></li> <li><code>2025-11-13T14:39:23+00:00 INFO Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 84724 [value] => 1040.56 [tax] => 143.3 [shipping] => 87.2 [currency] => NOK</code>`
    2. ` 2025-11-13T20:19:19+00:00 INFO Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 84739 [value] => 355.03 [tax] => 53.64 [shipping] => 55.2 [currency] => NOK

    Can you please give som feed back on possible causes? Could it be browser settings?

    Best

    Anders

    Thread Starter andersbolander

    (@andersbolander)

    Thank you. I will check with my dev if this can be implemented.

    Thread Starter andersbolander

    (@andersbolander)

    Here is a part of a gtmkit-purchase log from the 19th of october. I will check about the github code with my developer.

    2025-10-19T00:03:57+00:00 Info Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 83194 [value] => 161.02 [tax] => 25.8 [shipping] => 55.2 [currency] => NOK [items] => Array ( [0] => Array ( [id] => 5536 [item_id] => 5536 [item_name] => Løpstikke, skåret – Økologisk [currency] => NOK [price] => 92.02 [google_business_vertical] => retail [item_category] => Krydrautvalget [item_category2] => Urter [item_variant] => 50-g [quantity] => 1 ) ) ) [new_customer] => ) 2025-10-19T04:27:31+00:00 Info Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 83187 [value] => 197.95 [tax] => 30.62 [shipping] => 55.2 [currency] => NOK [items] => Array ( [0] => Array ( [id] => 41241 [item_id] => 41241 [item_name] => Krydras Tacokrydder [currency] => NOK [price] => 128.95 [google_business_vertical] => retail [item_category] => Krydrautvalget [item_category2] => Blandingskrydder [item_variant] => 100-g [quantity] => 1 ) ) ) [new_customer] => 1 ) 2025-10-19T07:07:47+00:00 Info Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 83196 [value] => 235.48 [tax] => 47.1 [shipping] => 55.2 [currency] => NOK [items] => Array ( [0] => Array ( [id] => 66494 [item_id] => 66494 [item_name] => Urteposer, bomull (gjenbrukbare) [currency] => NOK [price] => 166.48 [google_business_vertical] => retail [item_category] => Tilbehør [item_variant] => 25-stk,13-x-16-cm [quantity] => 1 ) ) ) [new_customer] => 1 ) 2025-10-19T07:10:58+00:00 Info Array ( [pagePostType] => page [pageType] => order-received [authorId] => 1 [event] => purchase [ecommerce] => Array ( [transaction_id] => 83198 [value] => 626.28 [tax] => 100.33 [shipping] => 55.2 [currency] => NOK [items] => Array ( [0] => Array ( [id] => 1490 [item_id] => 1490 [item_name] => Sort pepper, Tellicherry, hel – Økologisk [currency] => NOK [price] => 98.9 [google_business_vertical] => retail [item_category] => Krydrautvalget [item_category2] => Pepper [item_variant] => 100-g [quantity] => 1 ) [1] => Array ( [id] => 42810 [item_id] => 42810 [item_name] => Penja pepper, svart, hel [currency] => NOK [price] => 259.38 [google_business_vertical] => retail [item_category] => Krydrautvalget [item_category2] => Pepper [item_variant] => 100-g [quantity] => 1 ) [2] => Array ( [id] => 41226 [item_id] => 41226 [item_name] => Crushgrind Vaasa-glass, sett [currency] => NOK [price] => 199 [google_business_vertical] => retail [item_category] => Tilbehør [item_category2] => Kverner [item_variant] => kampot [quantity] => 1 ) ) ) [new_customer] =>

    Thread Starter andersbolander

    (@andersbolander)

    We have done that, and in a small sample, the DL was set only 3 out of 6 times—tiny sample. Logging is currently turned off. I am working on getting a log sample.

    Thread Starter andersbolander

    (@andersbolander)

    Status is still the same. This is the URL for the thank-you page. https://krydra.no/kasse/ordre-mottatt/<id>/?key=<key&gt;

    Thread Starter andersbolander

    (@andersbolander)

    Hi there,

    The cache purge worked. Thank you.

    I re-sent system data to FS903-1A037. Can you take a look?

    Thread Starter andersbolander

    (@andersbolander)

    Thanks for coming back to me. I entered the code.

    When checking now, this is what the GTM debug looks like. GTM does not see the container, yet the requests fire. gcs=G111. I believe debug has worked fine when I first connected GTMKit.

    Debug:

    Page: Handlekurv – Krydra.no
    https://krydra.no/handlekurv/
    Google Tag: GTM-M29C7NV not found
    Please verify that the tag:
    Is installed on this page
    Is not being blocked (by a browser extension or a consent dialog)

    Hi Nikel,

    I really like the comments and answers in this thread. You mention that a future GA4 MP compatibility may be coming. I really would like to see that materialize:-)

    I am using GA4 MP to ship data to SGTM and a GA4 plugin would be super helpful.

    Will you be looking at this?

    Best
    Anders

    Thread Starter andersbolander

    (@andersbolander)

    The Woo update has solved the issue.

    Thread Starter andersbolander

    (@andersbolander)

    Thanks for your effort:-)

    I updated the Klarna plug in and all is fine. Transactions land in GA as they should.

    Thread Starter andersbolander

    (@andersbolander)

    Thanks for taking this problem seriously. I am following the thread and can appreciate the complexity. I really do hope that it will be solved soon.

    Thread Starter andersbolander

    (@andersbolander)

    Now the Klarna iframe does not load at all. Is there anything that needs to be done in the admin?

    Logged out of admin and in again-solved. Sorry for the trivial stuff.

    Thread Starter andersbolander

    (@andersbolander)

    Sorry for the confusion in threads. I posted on the GTM4WP as well.
    This is for Krokedil:

    Dear Kristian,

    I does seem like there is a compatibility problem.

    To roll back the Klarna solution does not seem entirely safe to me. Which one breaks the other? Maybe a direct contact between Klarna and GTM4WP would be helpful.

    The versions involved are:
    WordPress 5.3
    Klarna Checkout v1.11.5 20K+ installations
    GTM4WP v1.11.2 300K + installations
    Woo v3.8

    General update was run Nov.19. No previous record.

    BR
    Anders

    Thread Starter andersbolander

    (@andersbolander)

    Thomas, sorry for the confusion. This one was for Klarna, but the info should make sense here as well.

    Dear Kristian,

    I does seem like there is a compatibility problem.

    To roll back the Klarna solution does not seem entirely safe to me. Which one breaks the other? Maybe a direct contact between Klarna and GTM4WP would be helpful.

    The versions involved are:
    WordPress 5.3
    Klarna Checkout v1.11.5 20K+ installations
    GTM4WP v1.11.2 300K + installations
    Woo v3.8

    General update was run Nov.19. No previous record.

    BR
    Anders

Viewing 15 replies - 1 through 15 (of 16 total)