This document is for users who want to track Goldcast forms. It outlines which Goldcast forms can be tracked, and the recommended method for setting up tracking.
On This Page
- Introduction to Goldcast Form Tracking
- How to Set Up Tracking for Goldcast Forms
- How to Validate that Your Goldcast Forms are Tracking
- FAQ
Introduction to Goldcast Form Tracking
This guide will walk you through the general steps involved in adding a custom tracking code to your Goldcast Forms. Please note that specific implementation details may vary depending on your Goldcast account setup and form editor.
Which Forms Can Be Tracked?
❌ Goldcast On-Demand Page forms cannot be trackedSince the forms are in an iFrame, and Goldcast does not allow access to the Javascript of the form, the tracking code cannot be added.
✅ Goldcast Register and Event Hub Page forms can be tracked, but requires custom code. Please follow the instructions below to set up tracking.
How to Set Up Tracking for Goldcast Register and Event Hub Page Forms
In these steps, we'll walk you through how to add tracking to your Goldcast forms. In this example, we'll use the Register Forms. To complete these setup, there are two fundamental requirements:
- Install the Wicked Tracking Code to your Page
- Install a Custom Function
The Wicked Tracking Code will provide us the IP address we need. However, the tracking connection is not complete without the email address. That's why you'll need to install a small snippet of additional javascript that pushes the email address to our tracking code. Let's get started.
- Log into Goldcast Studio
- Navigate to the Registration section and click on Tracking Pixels & Tags
- In the Head Section, add your Wicked Tracking Code.
- In the Form Submission section, add this custom javascript snippet:
Note: This custom javascript snippet is just an example. Your forms custom code may need a slight modification to work with your setup.
function onFormSubmission(submissionData, isReRegistration) {
window.parent.postMessage({
'func': 'wrPush',
'message': submissionData.email
}, "*");
}
- Click Save!
How to Validate that your Goldcast Forms Tracking
The purpose of validating your Goldcast forms tracking setup is to ensure that it's tracking reliably and providing you with the highest quality data possible. To validate your Goldcast form, you'll need to run a live network test. Although this test may sound difficult, it's a rather easy process.
Read the step-by-step instructions for the test here:How to Validate Your Opt-In Form Using Using the Inspect Network Test
Once you have finished the live test, you will see one of two results:
- If your live test passes, then you are good to go! Please publish your form.
- If your live test fails, which means that you do not see a index.php?WickedClientID= response, then your opt-in is probably not tracking. Please reach out to our support team for further validation.
That should cover everything. However, if you have any additional questions, please reach out to our support team. We are always happy to help!
FAQ
- What does the custom javascript code do?
It pushes the form submission email address directly to our tracking code. This enables us to complete our IP/Email address connection, and allows us to provide attribution.