- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
10-04-2017 09:10 AM
Hello,
I've the following tags firing on the destination page after an onsite search is performed.
There are 2 tags firing on the destination URL. The first one is the page level tag that has the custom dimensions and metrics:
#26 (cd26): lipstick
#27 (cd27): type ahead
Custom Metrics
#7 (cm7): 1
There is also an event tag which fires in a separate tag. Can we fire this all in one tag?
Event Action (ea): lipstick
Event Category (ec): onsite search
Event Label (el): type ahead
Also in this, will we be inflating the search count since the custom dimensions and metrics fire twice? We only want to increment a search once when completed and not duplicate it.
Thanks,
Arya
Solved! Go to Solution.
10-04-2017 11:47 AM
Hello @AS. What website is this happening on? Can you provide a link? Thank you.
10-04-2017 12:01 PM
Hi @kathleen_jo - It's currently in dev environment and unfortunately I can't share the login credentials for that site to someone outside the organization.
10-04-2017 12:04 PM
Okay got it. Let me see if I can find you some help. Stay tuned @AS...
10-05-2017 03:08 AM - edited 10-05-2017 03:20 AM
You should be able to combine this all into one tag, without having to worry about inflation of the metrics/dimensions.
If you fire a utag.link with just the event data, (and possibly the tag ID) you won't have to worry about inflation.
utag.link({/*...data...*/},null, [/*tag id*/]);
https://community.tealiumiq.com/t5/JavaScript-utag-js/Page-Tracking/ta-p/15563
Adrian
10-05-2017 08:32 AM
@AS A single instance of the Google Analytics tag should be able to handle all of your tracking needs. Here are a couple things to check:
1. Are your data mappings scoped to views, links, or both? You can specify the mappings to only apply to view or events by selecting the Event Type, seen here:
2. There is a tag configuration setting to Clear Vars, which will prevent page view data from being passed along to subsequent events.
10-05-2017 09:01 AM
Thank you @TealiumJustin. Scoping data mappings to link for these dimensions did the trick.
Copyright All Rights Reserved © 2008-2023