#justinsees_webhooks

1 messages · Page 1 of 1 (latest)

coral wedgeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1220077034823225364

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dawn wyvernBOT
fading vortex
#

here’s an example of what an event and payload looks like from spiffy, another payment processsor

{
event: "spiffyPurchase",
gtm: {
uniqueEventId: 10,
start: 1709769704984,
scrollThreshold: 100,
scrollUnits: "percent",
scrollDirection: "vertical",
triggers: "31737276_85"
},
pageType: "PageView",
pageURL: "/offer/wWJwfMul?x-spiffy-si=21e0e0c4-3c6d-487f-a6a0-9c662" +
"e8853dd",
routeName: "/offer/wWJwfMul",
ecommerce: {
purchase: {
actionField: {
id: "SPIFFY-991868",
affiliation: "Create the Financial Future of Your Dreams, One" +
" Deal At a Time! Learn How With Us Starting Apr" +
"il 7th!",
revenue: 17,
tax: 0,
shipping: 0,
coupon: "",
currency: "usd"
},
products: [
{
name: "Declare Your Season MasterClass (0407)",
id: 1334325,
price: 17,
quantity: 1
}
]
}
}
}

bleak blade
#

Hi there, taking a look

#

Can you share what you mean by "event push to the data layer"?

#

I see the creation of this charge resulted in the creation of a charge.succeeded event, and this event was delivered to a few webhook endpoints.

dawn wyvernBOT
fading vortex
#

A majority of payment processing systems automatically push "events" to the "data layer" - essentially an event with a payload that is best practice for relaying information to ad tags & analytics, Google tag manager, etc

#

We're not sure what / if any events are emitted upon a successful purchase of an apple pay purchase and how to track them, because they dont appear to emit any data we can detect.

wispy oriole
#

👋 stepping in

#

To identify Apple Pay you want to look at the Charge's payment_method_details.card.wallet hash

fading vortex
#

Can this event be used to fire a Facebook pixel or sent to a GTM data layer