This example shows how to use Google Tag Manager parameters with Sailthru userSignUp call to capture the view of type used for user signups. In the experience we use Google Tag Manager to listen for events on button double-click and submit the type using AJAX request in jQuery.. This example requires that you have followed to Add Sailthru JavaScript Tag and implemented Additional Code for Function Examples or your own event handler.. 2. Use Variables to Capture Form Field Values. Google Tag Manager allows you to set one or more parameters. Click within Variable Configuration box then select the variable type Custom JavaScript.. In this experience to make the not hard for us to identify in the interface we have known the parameters using the same like as the id that we used when we found them. Scroll down below HTML field and double-click within Triggering box to add ensure that Google Tag Manager knows when to fire the tag.. Click Trigger Configuration box then select the ensure type All Elements.... Now's the time to use the button and its ID to ensure the firing of the tag. Select Click ID and contains and enter the ID sailthru-signup-ajax in the last field..
Read more