We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5af3693 commit 2e9f48bCopy full SHA for 2e9f48b
1 file changed
src/components/ga4/EventBuilder/ValidateEvent/useValidateEvent.ts
@@ -55,9 +55,9 @@ const sendHit = async (
55
instanceId: InstanceId,
56
api_secret: string
57
): Promise<void> => {
58
- const url = `https://www.google-analytics.com/mp/collect?${instanceQueryParamFor(
+ const url = `https://www.google-analytics.com/mp/collect?api_secret=${api_secret}${instanceQueryParamFor(
59
instanceId
60
- )}&api_secret=${api_secret}`
+ )}`
61
const body = Object.assign({}, payload, {
62
validationBehavior: "ENFORCE_RECOMMENDATIONS",
63
})
0 commit comments