Created
November 9, 2017 18:42
-
-
Save astfarias/187597f59ed2bf05430636098d41415f to your computer and use it in GitHub Desktop.
AIDAX Integration Script for Google Tag Manager (GTM)
This file contains hidden or 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
//This script needs to be fired on All Pages and/or before any AIDAX capture in GTM | |
<script> | |
var gtm = google_tag_manager[{{Container ID}}]; | |
try{ | |
// INSERT SCRIPT AIDAX: http://doc.aidax.com.br/ | |
gtm.onHtmlSuccess({{HTML ID}}); | |
} catch(e) { | |
gtm.onHtmlFailure({{HTML ID}}); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment