I'm working in WordPress and I have this block of JS code on my page. I'm trying to write the Google Analytic Client ID in the console, however, I'm getting the following console error:
Uncaught ReferenceError: ga is not defined
ga('create', 'UA-123456789-1', 'auto');
/* Your other code here */
What am I missing? Any help would be appreciated. Thanks!