Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7169

Analytics Field tracking ID(i.e projectID) is not saved on add/edit of page/posts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Accepted
    • Icon: Should have Should have
    • 2.108.0
    • 5
    • Analytics
    • mars

      Issue:
      We recently moved the "Analytics & tracking" metabox fields to the sidebar.

      The below piece of code is responsible for saving of Global project id -

       

          add_action(
              'cmb2_save_field_p4_campaign_name',
              [ MetaboxRegister::class, 'save_global_project_id' ],
              10,
              3
          );

      In the new sidebar implementation, the meta fields are saved with RestAPI methods, and the above hook never gets called, and the Global project id value will not update.

       

      Task:

      • Update tracking ID(i.e projectID) value as per Global project standard value changes
      • If the global/local project unapproved/removed from spreadsheet, still keep selection with [deprecated] label in P4

       

            sdeshmuk Sagar Deshmukh
            sdeshmuk Sagar Deshmukh
            Julia Marubayashi Julia Marubayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: