Troubleshooting with Query Strings

When troubleshooting issues with share counts (or Social Rocket in general), we offer three query strings you can use to gain more information about what the plugin is doing on your site. While these are primarily used by our support staff, they can also be helpful for end users and developers.

These are only part of Social Rocket Pro. We don't typically provide the same depth of support for free users, so these query strings are only available to Pro users.

What if I don't want anyone to be able to use these on my site?

You can disable the query strings completely if you'd like. In your theme's functions.php or a custom functions plugin like My Custom Functions, simply paste in the following:

// Disable Social Rocket's query strings
	add_filter( 'social_rocket_disable_debug_actions', '__return_true' ); 


View the Background Queue

This query string will show you the queue of Social Rocket background processes waiting to run, including URLs that are preparing to update share counts. This can be helpful if you are troubleshooting a load time issue on your site and want to rule out Social Rocket as a potential cause.

To access it, visit any front end URL on the site and add the following string to the end, then hit Enter to view the information:

?srp_debug=show_background_queue

So if your site is domain.com, the URL in your address bar would look like this:

https://domain.com/?srp_debug=show_background_queue


View All Count Data

To view all count data sitewide, including the last time the counts were updated for a particular post or page, use this query string.

To access it, visit any front end URL on the site and add the following string to the end, then hit Enter to view the information:

?srp_debug=show_counts_data

So if your site is domain.com, the URL in your address bar would look like this:

https://domain.com/?srp_debug=show_counts_data


View All Social Rocket Settings

To view all selected settings for the Social Rocket plugin, use this query string.

To access it, visit any front end URL on the site and add the following string to the end, then hit Enter to view the information:

?srp_debug=show_settings

So if your site is domain.com, the URL in your address bar would look like this:

https://domain.com/?srp_debug=show_settings

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us