Nothing
Code
mp3
Output
fieldPath
1 events
description
1 Event at index: [0] has invalid name [_an_event]. Names must start with an alphabetic character.
validationCode
1 NAME_INVALID
Code
it1
Output
==GA4 MP Event Item
{
"item_name": "jeggings",
"item_variant": "Black",
"price": 8.88
}
Code
items
Output
[[1]]
==GA4 MP Event Item
{
"item_id": "SKU_12345",
"item_brand": "Gucci",
"price": 9.99
}
[[2]]
==GA4 MP Event Item
{
"item_name": "jeggings",
"item_variant": "Black",
"price": 8.88
}
Code
event1
Output
==GA4 MP Event
{
"name": "add_payment_info",
"params": {
"coupon": "SUMMER_FUN",
"payment_type": "Credit Card",
"value": 7.77,
"currency": "USD",
"items": [
{
"item_id": "SKU_12345",
"item_brand": "Gucci",
"price": 9.99
},
{
"item_name": "jeggings",
"item_variant": "Black",
"price": 8.88
}
]
}
}
Code
custom_connection
Output
$measurement_id
[1] "G-43MDXK6CLZ"
$api_secret
[1] "MY_SECRET"
$endpoint
[1] "https://gtm.custom.com"
$preview_header
<request>
Headers:
* X-Gtm-Server-Preview: XXXX
attr(,"class")
[1] "mp_connection"
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.