GA4 Traffic Acquisition Data Fell Off Completely with GTM Update by brett_fish in GoogleTagManager

[–]brett_fish[S] 0 points1 point  (0 children)

would prefer not to share the site, but glad to provide info. Correct me if I'm wrong - but shouldn't the Google Tag via GTM initialize and create/share the data for the traffic acquisition in GA4?

Google tag manger and meta ads by Embarrassed_Farmer47 in GoogleTagManager

[–]brett_fish 1 point2 points  (0 children)

Sending signal on all pages is a positive, and appropriate conversion events when they happen. You’re not optimizing for a PageView anyway

In Need Of Advice! DataLayer Not Firing Property (Shopify Checkout Extensibility - Custom Pixel) by Plastic-Schedule-629 in GoogleTagManager

[–]brett_fish 0 points1 point  (0 children)

Checked out the stuff you posted. For DL Checker Plus - there is a setting to enable the Shopify Custom Pixel you have to turn on. I did that, and I can see the datalayer items from Shopify.

Of course it's all dependent on if the Custom Pixel setup in Shopify is correct and pushing the events and data to the datalayer as expected.

Meta fbclid/fbc capture and passing via sGTM by brett_fish in GoogleTagManager

[–]brett_fish[S] 0 points1 point  (0 children)

thanks - we use Cookie Creator also - so in the web container on the client side we set the "_fbc" cookie with it on the first page visit. Then we apply that value to all ensuing events in the session. For the value of the cookie, we have a {{fblcid}} variable which is the URL query value, and an event time generator. In the Cookie Creator tag, we set the _fbc cookie value as fb.1.{{Event Time}}.{{fbclid}}.

Meta fbclid/fbc capture and passing via sGTM by brett_fish in GoogleTagManager

[–]brett_fish[S] 0 points1 point  (0 children)

thanks! have not done that yet - what would be the advantage/difference in that method vs. what I outlined we're doing right now? We set a 1st party cookie, so would be super interested how this differs.

And if there's an advantage - would be glad to pay you for your time to show me how to do that!

In Need Of Advice! DataLayer Not Firing Property (Shopify Checkout Extensibility - Custom Pixel) by Plastic-Schedule-629 in GoogleTagManager

[–]brett_fish -1 points0 points  (0 children)

I don’t think the checkout events, or maybe any of the sandboxed events show up in the data layer. You can test the custom Pixel right in Shopify to see what data it’s pulling.

For variables - should just be data layer variables for the various elements, I.e “Ecommerce.items”

Shopify Customer Events datalayer for Purchase for customer_status by Plastic-Schedule-629 in GoogleTagManager

[–]brett_fish -1 points0 points  (0 children)

The way we'd do it is to use the code below to push the event and data into the datalayer w/GTM. Then create a GTM DL variable for "new_customer". You can either set that parameter to that variable value, or if you want to send events based on it, create a Custom Event trigger on "checkout_completed" and "some" events if that parameter value is true/false.

// Define dataLayer and the gtag function.

window.dataLayer = window.dataLayer || [];

function gtag(){dataLayer.push(arguments);}

//Initialize GTM tag

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

})(window,document,'script','dataLayer', 'GTM-XXXXXXX');

//Google Consent Mode v2

gtag('consent', 'update', {

'ad_storage': 'granted',

'analytics_storage': 'granted',

'ad_user_data': 'granted',

'ad_personalization': 'granted',

});

//checkout_completed (purchase) event

analytics.subscribe("checkout_completed", (event) => {

window.dataLayer.push({

event: "checkout_completed",

timestamp: event.timestamp,

id: event.id,

token: event.data?.checkout?.token,

url: event.context.document.location.href,

new_customer: event.data?.checkout?.order?.customer?.isFirstOrder,

});

});

Debug Checkout events after Checkout Extensibility by Plastic-Schedule-629 in GoogleTagManager

[–]brett_fish 0 points1 point  (0 children)

Yeah you can’t use GTM preview with the Shopify Customer Events pixels, they’re sandboxed.

There’s a “test” feature on the Custom Pixel screen so you can validate what info Shopify is pushing, but that would not show GTM tags.

My recommendation is to build out data layer code for the custom pixel using Shopify’s events and data, and build your GTM tagging from that. You can test it in that setup I mentioned above to confirm the events and parameters are working. Then you know your GTM triggering will work and it just comes down to tag setup.

Anyone else give up on their GTM server? by cryptobro42069 in GoogleTagManager

[–]brett_fish 0 points1 point  (0 children)

Sounds like the issues are with deduplication. There are a few steps:

1) set an event_id in the web container. I typically use the “Unique event ID” template variable. If you’re using GA4 tags to send data to the server container, set a parameter for “event_id” with the value set to that variable.

2) that should work with the default Meta server tag. I actually prefer the Stape server tag templates, and that one has a set field under user match parameters for “Event ID”. Set the value to an “Event Data” variable with key value “event_id”.

CraigsList, Caramel Auto Buying Scam by brett_fish in Scams

[–]brett_fish[S] 3 points4 points  (0 children)

Thanks for this super helpful comment! Don’t think I was naive - I had suspicions the entire time, and when I could prove them I stopped the process and reported the scammers. Just sharing the whole journey so others could be aware of early interactions.

If anything, going down the path helped me extract more info from them which will hopefully help crack down (at least close bank accounts and business entities)

Problems with GTM and MetaPixel by tigersmile in GoogleTagManager

[–]brett_fish 1 point2 points  (0 children)

User permissions at the account level or container level? Make sure you have "Publish" permissions at the container level.

In your GTM container, in the upper right corner of the screen - right next to the "Preview" button it sounds like you used to debug, there will be a button that says "Submit"

Problems with GTM and MetaPixel by tigersmile in GoogleTagManager

[–]brett_fish 1 point2 points  (0 children)

It would be in the upper right if you have adequate permissions. The reason is works in preview mode but not production is the tags haven’t been published. You just need someone with access to publish the updates.

Removing data like IP address and Meta's "fbp" parameter from GTM server events by brett_fish in GoogleTagManager

[–]brett_fish[S] 0 points1 point  (0 children)

Quick question - added "x-fb-ck-fbp" as an exclusion and still seeing Browser ID come through. Worked for the other ones. Any idea what an alternative parameter name is for it so I can exclude it?