- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
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.
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:
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:
<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.
Copyright All Rights Reserved © 2008-2023