# Data/Variables available on order forms and thank you pages

**URL:** <https://integration.keap.com/t/data-variables-available-on-order-forms-and-thank-you-pages/48177>\
**Category:** Max Classic\
**Created:** [July 31, 2018, 11:13pm UTC](https://integration.keap.com/t/data-variables-available-on-order-forms-and-thank-you-pages/48177 "2018-07-31T23:13:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesse\_Davis1](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@Jesse\_Davis1](https://integration.keap.com/u/Jesse_Davis1)\
**Post date:** [July 31, 2018, 11:13pm UTC](https://integration.keap.com/t/data-variables-available-on-order-forms-and-thank-you-pages/48177/1 "2018-07-31T23:13:20Z")

</div>

Hi everyone,

I’m trying to figure out what data/variables are available on order forms and thank you pages. I’m trying to extract the transactionId of purchases to send over to Google Analytics and can’t find a way to do that yet. I’ve tried using window variables but those obviously don’t contain product-specific or purchase-specific variables. I’ve also tried using document.getElementById to set/use an element that might have data attached but that didn’t work either. Any thoughts?

---

<div class="post-metadata">

**Author:** ![Joey\_Novak](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/joey_novak/32/2416_2.png) [@Joey\_Novak](https://integration.keap.com/u/Joey_Novak)\
**Post date:** [August 2, 2018, 8:18pm UTC](https://integration.keap.com/t/data-variables-available-on-order-forms-and-thank-you-pages/48177/2 "2018-08-02T20:18:26Z")

</div>

Hi Jesse,

As far as I know no order data is available on the thankyou page. We (Novak Solutions) always point the thankyou page to an external landing page and include the order id or contact id. Then we use an api integration to pull the order data and send it to Google Analytics / Facebook.

There may be an easier way to do this now (as we set this up a long time ago). But I don’t know what it is if there is one.

---

<div class="post-metadata">

**Author:** ![Analytics\_Connect](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/analytics_connect/32/7365_2.png) [@Analytics\_Connect](https://integration.keap.com/u/Analytics_Connect)\
**Post date:** [June 16, 2023, 9:35pm UTC](https://integration.keap.com/t/data-variables-available-on-order-forms-and-thank-you-pages/48177/3 "2023-06-16T21:35:54Z")

</div>

This plugin on the Keap Marketplace will send all your sales data with traffic source attached into Google Analytics automatically.

> **[Google Analytics Ecommerce for Keap/Infusionsoft | AnalyticsConnect.io](https://analyticsconnect.io/)**
>
> Google Analytics Ecommerce for Keap/Infusionsoft
