Created
June 25, 2018 21:02
-
-
Save atannus/6f693f43bd852590138979628f28e1e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ao digitar 3 caracteres no 1o campo do formulário. | |
if( typeof dataLayer !== 'undefined') { | |
dataLayer.push({'ListingPageType': 'conversionintent'}); | |
dataLayer.push({'event': 'PageTypeChange'}) | |
} | |
// No sucesso do envio do formulário. | |
if( typeof dataLayer !== 'undefined') { | |
dataLayer.push({'ListingPageType': 'conversion'}); | |
dataLayer.push({'event': 'PageTypeChange'}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment