Included in this Article:
Enabling or Checking if the Tag is Enabled
Log in to RTP and enable the tag within the Account Settings page.
![RTP - Go to account settings.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
Confirm the Tag toggle is set to On
![tagon.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
Validating the Tracking Code
Check if the RTP tracking code is injected into your website's pages.
In a web browser, open the developers console. Go to Network, Search for rtp. Locate the rtp.js.
![script.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
Checking if the Tag Executes the Tracking and Personalization Code
You should see four RTP calls:
-
- rtp.js
- trw
- msg, appearing twice
If you only see the first rtp.js call but not all other calls, check the following:
- Validate the tag's account ID
- In RTP, go to Account Settings, click Generate Tag, and confirm the correct Account ID
![rtptag.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
- Confirm the Account ID is the same in the code installed on this page (it's case sensitive)
![accountid.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
- Validate there are no javascript errors.
- In Developers Tools, go to the Console tab and check if there are any error messages related to RTP or to jQuery
- Validate the tag is injected properly
- Check if the tag is not cutting code lines or any remark elements are not there.
-
The RTP tag is between remark elements.![rtptag2.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
- Some of the RTP code lines are commented
![tag3.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)
- In the Developers Tools, go to Sources and add break points in the RTP tag. Refresh the page and see if there are any errors.
![tag4.png](https://lh3.googleusercontent.com/-nCr7aMFdblA/Vsthq44mlhI/AAAAAAAAACI/vkXk-_Y6PAg/s1600/screenshot-accounts.google.com%2B2016-02-22%2B14-24-31.png)