Closed timothymarois closed 3 years ago
Found the issue:
Related to the window
not found because of using Nuxt. That makes sense why it just went blank. Though I wonder why event still failed while page views works just fine, but moment you use sent_to
it doesnt work, as it looks like send_to
is in the code base for event method.
Conclusion, does not work with Nuxt on SSR state since there is no DOM to interact with.
Strange. Nothing should work on ssr then. The only thing I do is just checking if windows and document are defined whenever I use them, not sure to comply more to ssr applications.
Would love to hear some suggestions if you have them
Cheers
:tada: This issue has been resolved in version 1.13.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Appears to be missing the
send_to
config on event conversionsIm trying to set up something similar to this:
When running this, it fails to send the fire off. You can see the
send_to
reference here:https://developers.google.com/gtagjs/reference/api#event
example given:
This is important for Google Ads conversions/Audience tracking
This is what Google Ads gives:
Tried to recreate that by using the
query
method:still doesnt work.
To conclude, nothing actually fires, if you remove the
send_to
it works, but thats not going to work properly (sending to the right account). If you add thesend_to
it does absolutely nothing.