When is visiting a page not considered a failure for Google Analytics?
Recall that when a user visits a site’s page, tracking of actions on the page begins using the built-in Google Analytics code.
IMPORTANT: Our task is not to deceive Google, including ourselves, but to get the right analytics metric.
Below we will consider 4 cases when a visit to a page of the site will not be recorded for refusal.
In this article, we will use the phrase "GIF request", which we wrote about in this article.
1. Normal action
The user opened the page of the site and clicked on the video playback button.
The first GIF request was sent when the page was opened, the second - when interacting with video content.
2. Social interaction on the page
The user opened the page of the site and clicked on the share button on social networks.
The first GIF request was sent when the page was opened, the second - when the content was expanded on social networks.
3. Automatic action
The user opened the page of the site and automatically began playing the embedded video from YouTube.
The first GIF request was sent when the page was opened, the second - during automatic playback.
By the way, over the past few years, Google and Apple have tried to fight in their browsers with the automatic playback of this or that content, as unscrupulous SEOs abuse it, but to date they have only introduced a ban on automatic video playback in mobile browsers.
4. Repeated code tracking Google Analytics website
Suppose that the same Google Analytics tracking code is located both in the Head block of the site and in the Footer.
In this case, two GIF requests will work immediately, and the visit will not be counted as a refusal.
It is worth remembering that such methods will ruin the reliability of your analytics and make your work ineffective. Make sure your analytics tracking code is only in one place on your pages.