Closed (fixed)
Project:
Web Experience Toolkit
Version:
5.2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2024 at 17:24 UTC
Updated:
9 Apr 2025 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
liam morlandComment #3
sylus commentedThis looks awesome!
Thanks @Liam for the improvement!
Committed and attributed!
Will add this functionality to the docsite.
Comment #5
sylus commentedComment #7
liam morlandFollowing client testing, it has been discovered that additional spaces are needed.
Update: The spaces may not be the problem, so don't commit this until we have verified that.
Comment #8
liam morlandIt appears to be necessary to have exactly four levels. This patch pads empty levels with "N/A".
Comment #9
jwylarsen commentedI don't see a meta element added to the page source when I provide a value in these fields. Am I doing something wrong?
Comment #10
liam morlandYou need to visit
admin/config/search/metatag, edit the tag type, scroll down to "Adobe Analytics", and put a token in the field.Comment #11
jwylarsen commentedDoes it have to be a token? I tried putting in a literal string and don't see it in the head.
Comment #12
liam morlandCheck the code for details. I think it has to be a token for a field such as
[node:field_fieldname].Comment #13
jwylarsen commentedAhh, okay. I see that now, thanks.
Comment #14
joel_osc commentedHope I don't offend anyone for re-opening this... it seems there is a follow-up patch that is needed.
Comment #15
liam morlandThe patch in #8.
Comment #16
smulvih2Hmmm, the patch in #8 seems to be in the 5.4.x branch - https://github.com/drupalwxt/wxt/blob/63cde06e8c52aa001284cb4ff8bf2e5c7a3f4a56/modules/custom/wxt_ext/wxt_ext_metatag/src/Plugin/metatag/Tag/AdobeAnalyticsAttributeBase.php#L109
Which branch are you seeing this issue in?
Comment #17
liam morlandI noted it missing from 5.2.x and since I didn't see a linked commit, I supposed it had not been committed. I see it was added in commit ac03fc27. I wonder why it doesn't appear here. Anyway, it's fine. This issue can go back to "Closed (fixed)".