Instead of using real time reporting to verify your implementation, you should always do the following instead:
1. Open your browser console (Press F12)
2. Go to "Network" tab
3. Filter on "b/ss"
4. Make sure "preserve log" is ticked
5. Load the url you want to debug.
As Alexis mentioned. It's most likely your implementation that is wrong and not the real time report as it's just parsing through the data that is hitting the Adobe Analytics servers.
Good luck with the debugging.