<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxxxx"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-xxxxxxxxxxx'); </script>
-( function ( i, s, o, g, r, a, m ) {
i[ 'GoogleAnalyticsObject' ] = r;
i[ r ] = i[ r ] || function () {
( i[ r ].q = i[ r ].q || [] ).push( arguments );
}, i[ r ].l = 1 * new Date();
a = s.createElement( o ), m = s.getElementsByTagName( o )[ 0 ];
a.async = 1;
a.src = g;
a.crossorigin = "anonymous";
m.parentNode.insertBefore( a, m );
} )( window, document, 'script', 'https://www.googletagmanager.com/gtag/js?id=G-ZW7S7EYLPF', 'ga' );
window.dataLayer = window.dataLayer || [];
function gtag () {
dataLayer.push( arguments );
}
gtag( 'js', new Date() );
gtag( 'config', 'G-ZW7S7EYLPF',
{
'user_id': sap.ushell.Container.getService( "UserInfo" ).getId()
} );
sap.ui.define( [ "sap/suite/ui/generic/template/lib/AppComponent" ], function ( AppComponent ) {
gtag( 'event', 'click_cart', {
'event_category': 'button', 'event_label': 'somename',
'soemprop1': desc, 'someprop2': Country
} );
Set up events | Google Analytics 4 Properties | Google Developers
How to Fix Missing GA4 Event Parameters 2023 (measureschool.com)
[GA4] Custom events - Analytics Help (google.com)
Gtag Reference- Google tag API reference | Google tag (gtag.js) | Google Developers
Custom Dimension-[GA4] Custom dimensions and metrics - Analytics Help (google.com)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 |