Title: Bad Event Tracking Code
Last modified: March 1, 2022

---

# Bad Event Tracking Code

 *  Resolved [anas631](https://wordpress.org/support/users/anas631/)
 * (@anas631)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/)
 * I get a notification in GA saying “Bad Event Tracking Code”.
 * Here is the whole message:
 * The Landing Pages report has a (not set) entry.
 * A pageview hit must precede event hits in order for the event hits to include
   the page that they fire from. When event hits aren’t preceded by a pageview, 
   Google Analytics doesn’t have the page for the event hits, so their page is (
   not set).
 * Verify that tracking code for property Tech alert 24 sends a pageview hit before
   sending any events.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbad-event-tracking-code-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15415944)
 * Not sure, have you triple-checked to make sure the tracking ID is correct? I 
   mean, that’s about the most it could be, unless you’ve added custom code via 
   the other settings. For basic configuration, you just enter your tracking code,
   save changes and done.
 *  Thread Starter [anas631](https://wordpress.org/support/users/anas631/)
 * (@anas631)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15418836)
 * I did not add any custom code, and please tell me where to enter my tracking 
   code
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15420376)
 * Yes complete steps to use the plugin and where to enter your tracking code is
   [here](https://wordpress.org/plugins/ga-google-analytics/#installation).
 *  Thread Starter [anas631](https://wordpress.org/support/users/anas631/)
 * (@anas631)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15422260)
 * I am already using Google site kit plugin
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15423522)
 * Ok not sure about that plugin. But if it adds tracking code for Google Analytics,
   then you don’t need this plugin as well. I.e., you only need one plugin to add
   the necessary GA tracking code.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15443431)
 * Hi [@anas631](https://wordpress.org/support/users/anas631/), just wanted to follow
   up with this. It’s been a few days I hope the issue is resolved? Or if there 
   is anything I can do to help, please let me know. Thank you.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15475400)
 * Hey [@anas631](https://wordpress.org/support/users/anas631/), I hope you got 
   this sorted. It’s been awhile with no reply so gonna go ahead and mark this thread
   as resolved to help keep the forum organized. Feel free to post again with any
   further questions or feedback, Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Bad Event Tracking Code’ is closed to new replies.

 * ![](https://ps.w.org/ga-google-analytics/assets/icon-256x256.png?rev=2053004)
 * [GA Google Analytics – Connect Google Analytics to WordPress](https://wordpress.org/plugins/ga-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-google-analytics/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/bad-event-tracking-code-6/#post-15475400)
 * Status: resolved