Skip to content

Instantly share code, notes, and snippets.

@razbakov
Forked from anonymous/gist:4d8839b1b30cb2d499aa
Last active August 29, 2015 14:14
Show Gist options
  • Save razbakov/1c4832881f9cadbf3027 to your computer and use it in GitHub Desktop.
Save razbakov/1c4832881f9cadbf3027 to your computer and use it in GitHub Desktop.
echo <<<JS
<script type="text/javascript">
var userIdB = document.getElementById("sf_00ND0000003vleB").value;
ga('set', 'dimension1', userIdB);
console.log("UID fired: "+ userIdB );
</script>
JS;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment