• Hello Thomas!
    I have issue with server side container configuration. If we leave your plugin´s setting blank, the tags on both, web and server containers work perfectly. But when we add the custom subdomain on your plugin´s settings, it stops working. No requests claimed at all, and even the Tag Manager debugger stop working properly.
    I also checked the browser´s network tab, and no GTM/GA info is showing. And when i remove the setting and leave it blank, it starts working again.
    The issue is that those requests are from Google´s domain… so the idea of using your plugin´s setting is to make those requests with our own domain.
    Waiting your reply.
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Thread Starter djwilko12

    (@djwilko12)

    Yes, without adding custom domain on the plugin´s settings, the client was working fine and triggering right tags. And the debug mode works smoothly.
    Now im checking, and i see on the browser´s network tab, that when i add the custom domain setting in your plugin, the status code for the gtm request to be Status Code: 400.
    If i remove the custom domain for setting, everything starts working just fine again.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    I am not sure, I have only seen this if the server side container was missing the GTM client that is responsible to serve gtm.js from your own subdomain that is assigned to your server container instance.

    Thread Starter djwilko12

    (@djwilko12)

    Thank you Thomas!
    So GTM Client is a mandatory thing whenever you want to use your own custom domain?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Yes, please check Simo’s article above, it will show you all steps.

    Thread Starter djwilko12

    (@djwilko12)

    Thank you very much!
    One more thing about Google Ads remarketing setting…
    I based my current configuration on your blog instructions, where we have 2 tags: “Google Ads remarketing” tag (triggered with PV DOM ready) and “Google Ads RMKT Ecommerce Events” tag (triggered with ecommerce events and also in charge of sending dynamic remarketing event data).
    But for the case of Google Ads RMKT using server side tagging, we wont use a transport url. Instead, we should just use Google Ads RMKT tag from server side container directly. So what would be the right setting?
    I tried enabling “Send dynamic remarketing event data” option choosing “Event data” as data source. But when i go to Google Ads audience source information, the parameters sent are not the same as when using the regular web container configuration.
    For example, with the regular Google Ads settings (following your blog instructions), i get all these parameters: “google_business_vertical”, “id”, “value” and “event”.
    And when trying to use server tag, i only get these 2: “event” and “value”.
    Could you please help suggesting the right wat to configure this tag?
    Thanks

    Hello,

    we have exactly the same problem with the missing parameters “google_business_vertical” and “id” since updating from GTM client to server. Is there already a solution/suggestion for this?

    Kind regards
    Andreas

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    I tested this and found the following:

    #1 I setup GA4 config tag to be routed to my server side GTM
    #2 I setup GA4 ecommerce tracking so that add_to_cart, view_item and similar ecommerce events are also sent to the server side container with the product data

    When an ecommerce action, like view_item is fired in the browser, the following ecommerce “items” data is populated in the browser:

    {
    	item_id: 38,
    	item_name: "Vneck Tshirt",
    	item_brand: "Fancy Brand",
    	price: 18,
    	item_category: "Tshirts",
    	google_business_vertical: "retail",
    	id: "38"
    }

    google_business_vertical and id is for Google Ads, all other parameters are for GA4 tracking.

    The server container gets this incoming request:

    /g/collect?
    v=2&
    tid=G-AAABBB111222&
    gtm={redacted}&
    _p=323112895&
    _dbg=1&
    _z=ccd.tfB&
    cid={redacted}&
    ul=en-us&
    sr=1536×864&
    _s=3&
    cu=EUR&
    sid=1652812578&
    sct=29&
    seg=1&
    dl=https%3A%2F%2Fwoo.gtm4wp.dev%2Fproduct%2Fvneck-tee&
    dt=Vneck%20Tshirt%20-%20GTM4WP%20WooCommerce%20Sandbox%20Site&
    en=view_item&
    pr1=id38~nmVneck%20Tshirt~brFancy%20Brand~pr18~caTshirts~k0google_business_vertical~v0retail&
    epn.value=18&
    richsstsse

    As you can see, pr1 is populated:
    id38
    nmVneck%20Tshirt
    brFancy%20Brand
    pr18
    caTshirts
    k0google_business_vertical
    v0retail

    The generated Google Ads request is this:

    https://googleads.g.doubleclick.net/pagead/viewthroughconversion/123456789/?
    random=1652812779947&
    cv=10&
    fst=1652812779947&
    fmt=3&
    bg=ffffff&
    guid=ON&
    u_w=1536&
    u_h=864&
    gtm=3oes5g0&
    url=https%3A%2F%2Fwoo.gtm4wp.dev%2Fproduct%2Fvneck-tee&
    tiba=Vneck%20Tshirt%20-%20GTM4WP%20WooCommerce%20Sandbox%20Site&
    value=18&
    item=(18**38**)&
    data=event%3Dview_item

    Both item id, price and event name is present in the request.

    What could be the difference between your GTM setup and my?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Server side issue’ is closed to new replies.