Skip to content

Instantly share code, notes, and snippets.

@chrisgoddard
Last active August 29, 2015 14:04
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 chrisgoddard/700406e6e28e194688b7 to your computer and use it in GitHub Desktop.
Save chrisgoddard/700406e6e28e194688b7 to your computer and use it in GitHub Desktop.
Push Google Analytics clientId parameter to calltrackingmetrics.com platform
// paste this in footer - should be after Google Analytics and CallTrackingMetrics snippets.
var __ctm_cvars = __ctm_cvars || [];
ga(function(tracker) {
var MyID = tracker.get('clientId');
__ctm_cvars.push({gaid: MyID });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment