You have no items in your shopping cart.

Profile: scponline

Avatar
Statistics

    Yep, exactly.

    Now i'm using Tag Manager js custom code functions in order to retrieve it from {{Page Url}}.
    But this would be a much cleaner way!

    Thanks,
    A.

    6 years ago

    Mmm,

    I think it's not the correct code snippet.

    From what I can see you should look at GetOrderCompletedPage in TrackingCodeHelper class.
    There, when TypeTag.GoogleTagManager condition is met, I would add orderId in the datalayer.
    Now there are PageType, PageUrl, email, value, currency and ProductIDList

    Thank you,
    A.

    6 years ago

    Hi,

    is it possible to add orderId variable to tag manager datalayer in the OrderComplete page?

    Thank you,

    6 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved