While defining tag and triggers in Google Tag Manager, is there a way I could define that specific information from my client goes into GA4
? for example I want to send the so-called store code
whenever a user click on a button, so that I can understand exactly which store has had this click. The click event is not my point, I have already defined the tag and trigger, my problem is that why in the response GA4
gives me some info is missing.
in my Tag I have defined a new event with the parameter shown in photo:
then the trigger is
Thank you in advance
Ok I found a way to send info, based on this link [GA4] Custom events which is a JavaScript code. However this is not what I was searching for because it is dependent to coding part and I wanted something which I can do from GTM
<script>
/**
* The following event is sent when the page loads. You could
* wrap the event in a function to call the event when certain
* events (e.g., a click event) happen on your site.
*/
gtag('event', 'Your Event Name', {
'your_param1': 'value 1',
'your_param2': 'value 2',
});
</script>