Skip to content

Instantly share code, notes, and snippets.

@atannus
Last active June 25, 2018 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atannus/9fd461c6f41226d3af091870e98df78d to your computer and use it in GitHub Desktop.
Save atannus/9fd461c6f41226d3af091870e98df78d to your computer and use it in GitHub Desktop.
// Em todas as páginas.
if( typeof dataLayer !== 'undefined') {
dataLayer.push({'ListingId': '...'});
dataLayer.push({'ListingTotalValue': ...});
dataLayer.push({'ListingPageType': '...'});
dataLayer.push({'event': 'PageTypeChange'})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment