Implement Q Pixel in WordPress
  • 29 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Implement Q Pixel in WordPress

  • Dark
    Light

Article summary

A comprehensive tagging strategy sets your campaign up for success and provides robust audience insights. The following instructions walk you through the process for placing Q Pixels in WordPress.


💡 Reminder:

  • Do not alter the code. Any edits to the code may result in the tag not firing.

  • The tag does not interfere with your page load because it is asynchronous (it loads in the background). See Get Started with Quantcast Tagging for more technical details.  

⚠️ What you need to continue:

Q Pixel (tag code available in the Quantcast Platform on the Q Pixel page)

Grab_Q_Pixel(1)

Q Pixel in WordPress

  1. Log in to WordPress, select Appearance, and then Editor.

  2. Under Templates, select footer.php.

  3. Scroll down and paste the Q Pixel code right before the closing </body> tag.

⚠️ Important: There should be no line breaks or blank lines within the tag code. If WordPress detects line breaks, it will automatically add paragraph tags (“<p>”), causing the tag code to break.

  1. Save.

Verify tag implementation using the Quantcast Tag Inspector

The Quantcast Tag Inspector is a Google Chrome plugin that checks whether your Quantcast Tag and Audience Segments are implemented correctly. Install the Inspector to review individual pages of your site, and make sure the audience segments are firing correctly. For more information, see the Inspect Your Tag help document.

You are done! Please check the Q Pixel app to confirm that your tags are collecting data. If you are not seeing any activity, reach out to [email protected] or submit a Help Center request at www.quantcast.com.  For more information on tagging, see our Tagging Overview article.

 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Q, facilitating knowledge discovery through conversational intelligence