Would this be better than say using {{Page URL}} as the label in the GTM/GA tag for the event?
A built-in token is fine, too, I just like to have direct control.
Ok. So if I go the route of adding through a push I need one more line of code such as:
"marketo.form_url": document.location.href
Yep!
Excellent! Thanks.
Pardon this non-programmer question but is there any significance to the naming convention? For example could:
marketo.form_id
be simply
form_id
It's just a convention to create a namespace-like/hierarchy-like/object-like feel. You don't have to use it.
In other words, it simulates a complex object like:
{
"marketo" : {
"form_id" : 123
}
}
But it isn't really like that under the hood, it's just flat.
When it comes to implementing tracking in Google Tag Manager (GTM) what is the process?
When it comes to implementing tracking in Google Tag Manager (GTM) what is the process?
Well... what are your goals? GTM + Data Layer seems like something you're already using.
Sorry for the delay. The goal would be to track successful form submissions in Google Analytics