# Live Chat

**URL:** <https://community.hubspot.com/t/live-chat/55461>\
**Category:** Lead Capture Tools\
**Created:** [April 21, 2022, 10:33pm UTC](https://community.hubspot.com/t/live-chat/55461 "2022-04-21T22:33:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RChacon](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RChacon](https://community.hubspot.com/u/RChacon)\
**Post date:** [April 22, 2022, 6:08pm UTC](https://community.hubspot.com/t/live-chat/55461/3 "2022-04-22T18:08:08Z")

</div>

This was the code that was doing the “magic”, Thanks

```lia-code-sample
<?php

$trackEcommerce = ###;

$head = get_field('head', $trackEcommerce);

$body = get_field('body', $trackEcommerce);

?>

<?php echo $head ?>

```

---

_[View the full topic](https://community.hubspot.com/t/live-chat/55461)._
