Created
September 24, 2015 13:54
-
-
Save haampie/f55e8690d90925eb1a5f 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
ga(function(tracker) { | |
var linkerParam = tracker.get('linkerParam'); | |
console.log(linkerParam); | |
// hier nu iets doen met linkerParam, want hier issie beschikbaar. | |
// kan zijn dat de DOM nog *niet* geladen is als je code in de header staat | |
document.addEventListener("DOMContentLoaded", function(event) { | |
var form = document.getElementById('some-form'); | |
form.action= /*...*/; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment