I have some pages on my website that are intended for other users to embed those pages on their own webpages using iframes. My iframed pages have a Google Analytics tracking code and each time they are embedded on someone elses page, it counts as a normal page view, per Google's recommendation.
However, in some cases on my own website I need to add the same iframed pages, mostly as an example for other users so they know how to properly add the iframes to their own websites.
So this results in an inflated page view count in GA because my webpage gets a page view and then my iframe I add also gets a page view, resulting in 2 page views for a single page.
How can I avoid this problem?