Skip to content

Conversation

@zygimantaskazlauskas
Copy link

The JS function which pushes data to GTM dataLayer, has this condition if you don't pass any data it simply ignores the function call.

if (eventName !== null && objectValue !== null) {

I am suggesting to make objectValue prameter optional, like in BUATrackEventsFacebookPixel.

According GTAG documentation, only eventName can be pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant