Problem/Motivation

Allow setting the Adobe Analytics metatag attributes data-gc-analytics-owner and data-gc-analytics-topic.

User interface changes

UI for these attributes appears in metatag module config.

API changes

None.

Data model changes

None.

Comments

Liam Morland created an issue. See original summary.

liam morland’s picture

Assigned: liam morland » Unassigned
Status: Active » Needs review
StatusFileSize
new7.79 KB
sylus’s picture

This looks awesome!

Thanks @Liam for the improvement!

Committed and attributed!

Will add this functionality to the docsite.

  • Liam Morland authored 842778c1 on 5.2.x
    Issue #3415924 by Liam Morland: Allow setting GC Adobe Analytics metatag...
sylus’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

liam morland’s picture

StatusFileSize
new1.52 KB

Following 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.

liam morland’s picture

StatusFileSize
new1.84 KB

It appears to be necessary to have exactly four levels. This patch pads empty levels with "N/A".

jwylarsen’s picture

I don't see a meta element added to the page source when I provide a value in these fields. Am I doing something wrong?

liam morland’s picture

You need to visit admin/config/search/metatag, edit the tag type, scroll down to "Adobe Analytics", and put a token in the field.

jwylarsen’s picture

Does it have to be a token? I tried putting in a literal string and don't see it in the head.

liam morland’s picture

Check the code for details. I think it has to be a token for a field such as [node:field_fieldname].

jwylarsen’s picture

Ahh, okay. I see that now, thanks.

joel_osc’s picture

Status: Closed (fixed) » Needs review

Hope I don't offend anyone for re-opening this... it seems there is a follow-up patch that is needed.

liam morland’s picture

The patch in #8.

smulvih2’s picture

liam morland’s picture

Status: Needs review » Fixed

I 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)".

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.