Register an event on Tealium

Bronze Contributor
Bronze Contributor

Hello,

I would like to learn how to register an event on Tealium that will be sent to both the UA and GA4 properties whenever a form is successfully directed to the thank-you page. Could you please provide instructions on how to accomplish this?

Thank you.

1 REPLY 1

Register an event on Tealium

Gold Contributor
Gold Contributor

Sure, I can help you with that.

To register an event on Tealium that will be sent to both the UA and GA4 properties whenever a form is successfully directed to the thank-you page, you can follow these steps:

  1. In the Tealium iQ Platform, create a new event.
  2. In the event configuration, set the event name to "Form Submitted".
  3. Set the event type to "Custom".
  4. In the event parameters, add the following parameters:
    • event_name: The name of the event.
    • event_timestamp: The timestamp of the event.
    • form_id: The ID of the form that was submitted.
    • thank_you_page_url: The URL of the thank-you page.
  5. In the event configuration, set the "Send to" settings to "Both UA and GA4".
  6. Save the event.

Once you have saved the event, you will need to add the event tag to your website. You can find the event tag in the Tealium iQ Platform.

Once the event tag is added to your website, whenever a form is successfully submitted, the event will be sent to both the UA and GA4 properties.

Here is an example of the event tag that you can use:

Code snippet
<script>
  tealium.track("Form Submitted", {
    event_name: "Form Submitted",
    event_timestamp: new Date().getTime(),
    form_id: "123456",
    thank_you_page_url: "https://www.example.com/thank-you",
  });
</script>
 

I hope this helps! Let me know if you have any other questions.

shivam joshi
Public