Write Confection Event Data to the Facebook/Meta Conversions API (CAPI) and Google Ads API

Help customers gain data independence by giving them control over their atomic-level digital marketing data – this is Confection’s mission. By generating their own pageview data, acquisition intel, and session intelligence, Confection customers operate independently of other tools and systems. These routinely fail because of browser and device disruptions involving cookies, cross-domain scripts, and device IDs.

Read More

Subscribe

We'll send updates directly to your email inbox.

  • Hidden
 

Learn more about marketing disruptions involving cookies, cross-domain scripts, and device IDs. Get tips for using your Confection account effectively. Read customer experiences.

One of our customers recently posed that powerful question.

Thanks to Confection, our customers can do exactly that: write high-fidelity data to CRMs, analytics tools, ad campaigns, and other meaningful endpoints. They're no longer dependent on scripts, pixels, or tags to generate their digital marketing data.

"Why would I use app scripts, pixels, or tags to generate my digital marketing data? I can't necessarily trust or audit them. Why wouldn't I just write my data to my own systems myself?"

Continue Reading

Subscribe

Educating yourself about privacy first disruptions and opportunities? Keeping an eye on the future of cookies, cross-domain scripts, and device IDs? We can help. Subscribe, and we’ll send content like this directly to your email inbox.

  • Hidden

While our account API and lowcode/nocode connectors at Zapier, Pipedream, Make (Integromat), and Tray.io allow customers to write data just about anywhere, the majority of our customers do two things with Confection:

  • They write better data to analytics tools like Google Analytics and Matomo.
  • They send better data to Facebook ads and audiences.

In effect, Confection enables customers to operate as their own analytics script and ad pixel. We have native integrations for UA, GA4, and Matomo. Our two newest quick-start guides focus on the ways customers can use Confection to amplify the performance and quality of their paid ads and audiences via the Facebook/Meta Conversions API (CAPI) and the Google Ads API .

About Confection Events

Confection automatically tracks the following kinds of events:

  • form fields (which we treat as PII)
  • page load speed
  • pageviews and associated session intel (eg., acquisition data)

With a few lines of code, customers can also track eCommerce purchase events and send them directly to GA and Matomo. See this documentation for more information.

As we outline in our dashboard documentation, Confection also supports generic custom events. To submit a custom Confection event, use this syntax:

Add that above your site’s </head> tag and below your Confection header code. For example, if you wanted to submit a custom event named click with a value of 1, you’d add this to your site:

<script>
confection.submitEvent("click", 1);
</script>

Customers can easily modify generic Confection custom events so they're ready for submission to the CAPI and the Google Ads API.

To start writing Confection data to the CAPI, click here. To start writing Confection data to the Google Ads API, click here.

Today is your data independence day.

Take control of your atomic-level digital marketing data. Get 20-30x more attribution data and 30-40% more session intelligence in critical endpoints like CRMs, analytics tools, and ad campaigns.

Get Started

Live Dataflow
Learn More

Next Steps

Confection collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too.

See Confection in Action (Risk Free)

Get Started (Risk Free)

"I want to see a demo."

Let’s Go

"How does privacy first affect me?"

Find Out

"I have some questions."

Contact Us

"I want to see this."

Share It

"How much does this cost?"

View Pricing Guide

Discussion

Questions or comments? Leave them below.

Today is your data independence day.

Get started. Risk free.