The pixel can be added to any webpage by pasting the Pixel code from your account in the head. It should only be added once per web page.
<script async type="text/javascript" src="https://cdn.citygro.com/pixel/[649811]/pixel.js"></script>
Please be sure to copy the Pixel code from your account as the account number is unique and the above is just an example.
Pixel code for your account can be found by logging into your Patch account and navigating to the Pixel module using the left-side menu.
Adding a script tag to the head of a WordPress site is as simple as following these steps:
Log in to your admin dashboard.
Click "Theme Editor" under "Appearance".
Locate and click the "header.php" file in the Theme Editor.
Look for the <head> section within the code editor.
Inside the <head> section, find an appropriate spot to add your script tag. This could be just before the closing </head> tag or anywhere else depending on your specific requirements.
Add the script tag using the following format:
<script async type="text/javascript" src="https://cdn.citygro.com/pixel/649811/pixel.js"></script>
After adding the script tag, click on the "Update File" button to save your changes.
Please note that modifying theme files directly can be risky, as any mistakes can break your site. It's recommended to create a child theme or use a custom code plugin to add scripts to your WordPress site.
Comments
0 comments
Please sign in to leave a comment.