Answer the question
In order to leave comments, you need to log in
How can I prevent Google Alalytics from capturing data from a specific resource?
I'm working on a portfolio page. In it I want to place links to sites on which I worked. Page on GitHub Pages (if it matters).
It is necessary that site analytics does not display the resource from which the transition was made (my page).
Please tell me how it is better to implement it so that nothing needs to be changed in the analysts themselves?
Will the resource data be exposed if I use window.open to go to the corresponding portfolio site?
Answer the question
In order to leave comments, you need to log in
If you have GA4, then this can be done as follows:
1. On the main page, select Data Streams -> Web (Resource column)
2. Select the desired stream and then click Advanced settings for adding tags (Advanced settings block)
3. Click Create list
4. In the block with the name Ignoring transitions... select the type of match , specify the resource in the domain accordingly (traffic from which will be ignored), and click Save
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question