Skip to content

Instantly share code, notes, and snippets.

@haampie
Created Sep 24, 2015
Embed
What would you like to do?
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