Title: [Plugin: Google Analytics for WordPress] Error when trying to ACTIVATE the Google Analytics plugin
Last modified: August 19, 2016

---

# [Plugin: Google Analytics for WordPress] Error when trying to ACTIVATE the Google Analytics plugin

 *  [dmiron](https://wordpress.org/support/users/dmiron/)
 * (@dmiron)
 * [16 years ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/)
 * I’ve got the following error when trying to activate the Google Analytics plugin
   in WordPress 2.9.2
 * Parse error: syntax error, unexpected T_IS_GREATER_OR_EQUAL, expecting ‘(‘ in/
   hermes/bosweb/web125/b1253/ipw.naturesi/public_html/healingsynergy/wp-content/
   plugins/google-analytics-for-wordpress/googleanalytics.php on line 542
 * Thank you.

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

 *  [arimor](https://wordpress.org/support/users/arimor/)
 * (@arimor)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489863)
 * Me too. I’m running WordPress Version 2.9.2.
 * Please help.
 * Thanks.
 *  [dvfa](https://wordpress.org/support/users/dvfa/)
 * (@dvfa)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489870)
 * Same error, guys!
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected T_IS_GREATER_OR_EQUAL, expecting ‘(‘ in/
   homepages/7/d230949312/htdocs/blog/wp-content/plugins/google-analytics-for-wordpress/
   googleanalytics.php on line 542
 * I am using WordPress 2.8.2.
 * Any helping comments? THX!
 *  [dvfa](https://wordpress.org/support/users/dvfa/)
 * (@dvfa)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489871)
 * Same error, guys!
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected T_IS_GREATER_OR_EQUAL, expecting ‘(‘ in/
   homepages/7/d230949312/htdocs/blog/wp-content/plugins/google-analytics-for-wordpress/
   googleanalytics.php on line 542
 * I am using WordPress 2.8.2.
 * Any helping comments? THX!
 *  [drfong](https://wordpress.org/support/users/drfong/)
 * (@drfong)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489872)
 * I was able to do a workaround. As long as you’re not tracking Gravity Forms and
   you have access to edit the googleanalytics.php file (I use VI via SSH access),
   I suppose it should work:
 * Just comment the offending section out:
    On line 542: Add /* to the beginning
   of the line, On line 559: Add */ to the end of the line.
 * Then go back to your plugin manager on your site and Activate, then you should
   be ready to enter your site ID, etc.
 * Hit me up if you have questions!
 *  [.sarah.](https://wordpress.org/support/users/sarah-1/)
 * (@sarah-1)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489874)
 * Thanks for posting the fix.

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

The topic ‘[Plugin: Google Analytics for WordPress] Error when trying to ACTIVATE
the Google Analytics plugin’ is closed to new replies.

 * 5 replies
 * 5 participants
 * Last reply from: [.sarah.](https://wordpress.org/support/users/sarah-1/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-trying-to-activate-the-google-analytics-plugin/#post-1489874)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
