Support » Plugin: Metronet Tag Manager » Change of variable-name and -value in DB

  • Hello…

    we have added gym DataVariables items in a lot of posts and pages in 10 languages…

    now we have to rename some gtm-names and -variables…

    because we are talking about thousand posts, we hope that we do not have to make it in the backend of wordpress… is there a possibility to do this directly in the database?

    —-
    EXAMPLE OF THE RENAMING (for better understanding)

    before: “event”:”productPageViewProduct”
    afterwords: “event”:”familyPageView”

    before: “productname”:”ABC”
    afterwords: “productName”:”ABC”
    —-

    we have tried to rename this items in the table “postmeta” in the database – but afterward all gmt-taggs in the posts do not work any longer…

    how can we handle this?
    is there a solution?

    Thanks for feedback

    https://wordpress.org/plugins/metronet-tag-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    I know this isn’t ideal, but can you delete the post meta values and just set a global dataLayer variable and then programmatically add in your data values?

Viewing 1 replies (of 1 total)
  • The topic ‘Change of variable-name and -value in DB’ is closed to new replies.