When enabled, Confection's BigQuery integration creates a dataset with two columns: UUID
and data
. The data
column includes JSON-formatted data associated with a UUID's site activity. To connect BigQuery to your Confection account, see this quick-start guide.
Use the following query to output detailed information about purchases. It defaults to Confection's default purchase event name (purchased
). If you're using a custom purchase event name, you can edit line 10.
Enrichment Add-On
To generate city, region, country, and lat/long information, you'll need to activate Confection's enrichment add on. To do so, schedule a call with our team. To learn more about the add-on, see this blog post.
Sample output follows:
uuid | order_date | order_id | order_value | customer_email | landing_page | browser | referrer | source | campaign | content | id | medium | term | city | region | country | loc |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
123-456 | 2024-09-26 05:40:50 UTC | 78912345 | 500 | [email protected] | https://example.store.com | Safari Desktop | https://www.google.com | source name | campaign name | ad content | ad id | paid | search term | San Francisco | California | US | 42.361145,-71.057083 |
"Why do I see direct
referrer values and campaign information?"
referrer
information and UTM-style campaign data run in parallel lines. referrer
is a server-side value, and UTM-style campaign values are URL-parameter-based, front-end values.
Browsers that use privacy settings or extensions generally hide referrer information. Links with rel="noreferrer"
attributes will also omit referrer information. As such, when you see a direct
referrer value and campaign information, treat the campaign information as authoritative.
We considered overwriting referrer data when campaign source information is available. However, there are ethical and practical arguments to be made for preserving the actual referrer information. Confection's mission involves presenting information as accurately as possible. A customer may want to calculate the number of privacy-focused users visiting his/her site. A customer might also want to audit a particular campaign.
For these and other mission-focused, usage-based reasons, we present referrer values exactly as we detect them.
Get started risk free.
Questions or comments about "I want to see detailed information about purchase events."
? Leave them below.