In order to have your site fully approved for Raptive, it’s necessary to get Google’s approval. To submit your site to Google for review, the GPT validation tag we’ve shared with you (either through email or through your Setup Assistant) must be present on your site. This tag allows Google to match your domain with our request to manage the ad inventory for that site. The tag will have no effect on any ads you may currently be running.
The GPT validation tag must be present site-wide, so we recommend adding the tag into the header or footer of your site. Once your new ads are installed, we’ll remove the tag for you.
If you need some help adding the tag to your site correctly, here are some tips!
If your site is on WordPress
Many WordPress themes come with a built-in area to add JavaScript or header/footer scripts where you can add the GPT validation tag. If you can’t find it, or your theme doesn't have this area, you can install a plugin like WP Code - Insert Headers and Footers and use that to add the GPT tag.
If you’re running WP Rocket on your site, our validation code could potentially be minified and combined with other JavaScript files.
In your WP Rocket settings you should see a setting for 'Combine JavaScript files' with a box underneath to exclude certain scripts:
Add these two lines to the "Excluded Inline JavaScript" box:
gpt.js
gpt-ad
That should get the script where we need it to be.
If your site is on Blogger
In your Blogger account, navigate to Theme > More > Edit HTML. Place the code before </head> and click Save.
If your site is on Squarespace
In your Squarespace account, navigate to Settings > Advanced > Code Injection. Squarespace has a nice how-to video here if you’d like more direction!
If your site is on Xenforo
In Xenforo, add the code to the page_container_js_head template.
Don’t see your platform listed here?
If you have a custom CMS or your site is on a platform not listed here, just know that the code should be added before the closing </head> tag. Most platforms have an area to add custom JavaScript or edit an HTML template. If you can’t find where the code needs to go for your site, just reach out and we’ll be happy to help you find the right spot.