Google Tag Manager Data Layer Push
· 2 min read
Paminga can now push data to Google Tag Manager's "Data Layer" when one of your Paminga Forms is submitted.
The Data Layer Push Action​
Like all other Actions, the Data Layer Push Action can be triggered globally or conditionally.
What Data is Pushed to the Data Layer?​
The following data is pushed to the Data Layer when your form is submitted:
- A dataLayer "event". By default, this is set to "PamingaFormSubmission".
You can change this value in the Action's settings. - Form ID
- Form Name
- The URL of the page from which the form was submitted
- The names and values of all "GET" variables that are present in the URL's query string.
This may include UTM tags,gclid,gbraid, etc. - The names and values of all fields submitted in the form
Data Format​
Data pushed to the Data Layer is always in JSON format.
Here is a sample of the data pushed to the Data Layer when a form is submitted:
{
"event": "PamingaFormSubmission",
"formId": 1234,
"formName": "Your Form",
"embedUrl": "https://example.com/form",
"getVariables": {
"utm_campaign": "Campaign",
"utm_source": "Source",
"utm_medium": "Medium",
"utm_content": "Content",
"utm_term": "Term",
"gclid": "12345",
},
"submissionValues": {
"first_name": "Michael",
"last_name": "Ward",
"email_address": "michael@paminga.com"
}
}




