πŸ‡ΊπŸ‡ΈUnited States @djween

Account created on 19 November 2010, over 13 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States djween

@Berdir or anyone else. I'm testing removing this module and only using google_tag as suggested above. In my testing when using google_tag alone, the ecommmerce events are firing (for example: add_to_cart) but I'm not seeing the data layer values that were coming over with this module (commerce_google_tag_manager). For example, in google's tag assistant preview I see the following in the data layer when using commerce_google_tag_manager:

ecommerce: {
currencyCode: "USD",
add: {
products: [
{
name: "widget ABC",
id: "7463",
price: "630.00",
variant: "widget ABC - red",
quantity: 1
}

but not when using google_tag. Any ideas would be appreciated.

πŸ‡ΊπŸ‡ΈUnited States djween

sorry, this is the error I see:
Error: Call to a member function getNumber() on null in Drupal\commerce_google_tag_manager\EventTrackerService->calculateShipping() (line 454 of /home/domain/public_html/site/web/modules/contrib/commerce_google_tag_manager/src/EventTrackerService.php).

πŸ‡ΊπŸ‡ΈUnited States djween

The patch in #25 fixes issue for authenticated user but not for anonymous user for me.

πŸ‡ΊπŸ‡ΈUnited States djween

Would love to see what you did, even if posted here.

πŸ‡ΊπŸ‡ΈUnited States djween

thanks rszrama for the quick reply. I assume there is no plan to make 1.1 compatible with D10?
I ask because it is going to be a heavy lift to re-theme based on our original commitment to work off of Belgrade.

πŸ‡ΊπŸ‡ΈUnited States djween

djween β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States djween

@roshni27 I am not able to apply your patch with composer. I am able to apply the patch in #2 above but it doesn't have the updates for the magazine_lite.info.yaml file included. I am working with one of their other themes (corporate_lite) which has a very similar patch and am able to apply that patch - it may help to use as a reference...
View here: https://www.drupal.org/project/corporate_lite/issues/3296894 πŸ“Œ Automated Drupal 10 compatibility fixes RTBC
patch: https://www.drupal.org/files/issues/2023-06-23/automateddrupal10compatib... β†’

πŸ‡ΊπŸ‡ΈUnited States djween

I'm not using the wizard in the group settings (see attached for group settings).
Steps to reproduce:
-create new group
-go to https:///group//members
-click "add member" and add a member (a regular non-admin, basic authenticated site member) and do not select a role as the user is to be a basic default group member. (see attached for role settings)
-click save. User appears in the view on this page but no value (e.g. "group member") is rendered in the column for the role field for this newly added user.

πŸ‡ΊπŸ‡ΈUnited States djween

Also when I test in GTM preview feature, I see UA data layer format and not GA gtag.js API format for data output.
I see that this is injected on my page:

  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}

Not sure if I am just seeing it this way because it seems like it is still using UA event names?

πŸ‡ΊπŸ‡ΈUnited States djween

Hi, to add on to #29... I implemented patch in #27 but my GA4 ecommerce events are not triggering in GTM. It seems to be outputting UA event name and not GA4 name. For example: outputting: addToCart instead of add_to_cart.

I am looking at this documentation (see bottom of this page): https://developers.google.com/analytics/devguides/migration/ecommerce/gtm-ga4-to-ua

Thank you.

πŸ‡ΊπŸ‡ΈUnited States djween

@coaston
--First check your view outside of business rules. As in create a page from your view and make sure there are actual results.
--yes, in my case I have provided default value in the contextual filter. I am using "content id from url" in my particular case to filter the view.
--And in BR in the views variable, for the argument I have: [node:nid].
--Also make sure you have patch #9 installed.

πŸ‡ΊπŸ‡ΈUnited States djween

Hello, I was looking to trigger actions based off of membership related events in Business Rules using for example entity insert event with target entity type group relationship and bundle group membership or group invitation. Not even sure if it would have been possible because I couldn't test without the labels appearing but theoretically it seemed like it could work. If it would work seems like it would be a miss to prevent this capability using out of box BR and Groups for things as basic as publishing a welcome message or emailing a welcome message.

πŸ‡ΊπŸ‡ΈUnited States djween

Same... #16 applies but #18 doesn't apply when updating with composer. Patch in #16 worked for me.

πŸ‡ΊπŸ‡ΈUnited States djween

I was hoping to be able to resolve this by creating an event of "After updating entity" but when I select "Group relationship" for Target Entity Type, the target bundle doesn't populate with values for for example "groupname-group_membership" in the dropdown. I was thinking there is a path to create rules to handle actions after new member is joined or leaves but can't even get past creation of BR reacts on event to test.

Production build 0.69.0 2024