ga_send_pageview()
Use this hit builder by Google to assist preparing options. Note: Be careful when using this function that the standard JS pageview function doesn’t duplicate pageviews (and thus reducing the…
ga_send_custom()
Use this hit builder by Google to assist preparing options….
Google Analytics Goals
These are recommended Google Analytics Goals for gaining insights with tools like conversion funnels. Goals are specific to each business, but here are some ideas of things to assign as…
Google Analytics Campaign URL Generator
This is a campaign URL builder for Google. This generator validates the URL and will automatically encode strings as needed. It also generates on input (instead of having to submit…
nebula_session_id()
…with !) cid – Google Analytics CID This is parsed from the Google Analytics cookie (two numbers separated by .) or generated by Nebula (four groups of numbers separated by…
How to use the JavaScript WordPress Hooks API (Without Any Extra Libraries)
…call wp.hooks. Like this: register_script(‘nebula-whatever’, get_template_directory_uri() . ‘/assets/js/nebula.js’, array(‘jquery-core’, ‘wp-hooks’), ‘1.2.3’, true); Or with Nebula (to add defer and module types to the script): nebula()->register_script(‘nebula-main’, get_stylesheet_directory_uri() . ‘/assets/js/main.js’, array(‘defer’, ‘module’),…
Google Analytics Custom Alerts
These are recommended custom alerts for Google Analytics to be notified when certain things happen on the website. It is advised to check both the “Send me an email…” for…
Google Analytics Calculated Metrics
For free accounts, Google Analytics allows 5 calculated metrics per view. These are custom equations to assist insights. For many great ideas of custom calculated metrics, read this article. Note…