- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-26-2018 09:00 AM
Hi,
I looked into the mapping details for GUA tag and could not find an option to set mark a specific Event tracking as 'NonInteracting'. By default all events being sent to Google are considered as Interacting right now.
We have certain events that need to be triggered on page-load but should not be considered as interacting.
I looked in the GUA template as well, and there is no code to send the 'nonInteraction:true' status to Google.
Please let me know if there is no other means but to update the template for this feature.
Regards
Siddharth
Solved! Go to Solution.
02-26-2018 01:03 PM - edited 02-26-2018 01:22 PM
@siddharth_singh if you're using the most recent version of GUA (analytics.js) from our marketplace, the template does include the nonInteraction
setting. However, it is not populated in the list of mappings and has to be added manually.
From the tag's Mapping Settings
nonInteraction
and click OKGiving the variable event_non_interaction
any value will cause GUA to set it to true. We would recommend setting it to "1" for true as per our best practices for Booleans.
If you're using the most recent version of GUA (gtag.js) from our marketplace, the mapping is slightly different.
From the tag's Mapping Settings
event.non_interaction
and click OK03-01-2018 09:17 AM
It looks like we are using GUA template which might be around 3-4 years old.
The only code in the Template for nonInteraction I found was:
if (u.data.nonInteraction) {u.all("set", "nonInteraction", true)};
Going with the above solution, ALL tracking was getting marked as non-Interaction including PageViews.
I believe we have to move to a new template. Please confirm.
Note: In our QA env. we were using a newer version of GUA tag created for testing purposes and the solution provided was working there.
03-01-2018 10:43 AM - edited 03-01-2018 10:44 AM
@siddharth_singh First, I would recommend updating to the most recent template. Second, as a point of clarification, you should only set the Non Interaction variable on events that require it, for other events that do not need it, do not set anything. You could also set the value to false
with JS code, and it should keep the condition from triggering, but not setting it is the better option.
03-29-2019 08:24 AM - edited 03-29-2019 08:25 AM
Hi @davidcreason,
I'm using Extensions to add event tags for a website that is using Google Analytics (analytics.js). One of the tags I have created is an event tag that fires on hover (mouseover). I want to make this tag a non interaction. Is it possible this post is outdated?
10-25-2019 06:45 AM
I have the same question, would like to know how to send a GA event with the value of non-interactive = true.
10-29-2019 02:00 PM
The latest tag template for the Google Analytics (analytics.js) tag supports nonInteraction
events. Run the Tag Status Checker to see if your tag needs to be updated. The template simply looks for "truthiness" for this mapping, so set a variable to 1
or true
in an extension, then map to nonInteraction
in the mapping toolbox. It's in the Standard mapping group.
01-02-2020 04:59 AM
Copyright All Rights Reserved © 2008-2023