• Resolved Bmuzammil

    (@bmuzammil)


    I have a staging site and soon as I publish, all the Clicks “tracking data” is lost. So kindly save the data to an online location like google drive or the option to sync between the staging site and live site so Clicks data is not lost and the option to reset the clicks to zero.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tyler

    (@tylerthedude)

    Hi @bmuzammil,

    It’s nice to chat with you again. Just to ensure I’m understanding the issue correctly, whenever you create or edit a pretty link on your staging site, all of the data stored on the Clicks page (Wp-Admin -> Pretty Links -> Clicks) gets removed?

    If I’m misunderstanding anything please let me know.

    I look forward to hearing from you!

    Kind regards,

    Thread Starter Bmuzammil

    (@bmuzammil)

    no.
    staging site has all the links created with lets say Link_1 has 0 clicks, and the live site has 20 clicks but when I’m going to publish the staging site, it will replace the existing data of the live site that will reset the Link_1 to 0 from 20.

    bascially, staging site replaces the live site and because the data is store on the local server it gets replaces by the staging site on publish. if the clicks data is store online on Google Drive or else where then it will sync back.

    Which means, each click has to have a time and date associated with the click so it gets synced properly.

    Tyler

    (@tylerthedude)

    Hi @bmuzammil,

    Thank you for clarifying that for me. The data on the live site shouldn’t be overwritten by the staging site unless they share the same database table prefix and are stored within the same database. When creating the staging site, you may want to give the database tables a different prefix (maybe something like “staging_” instead of the default “wp_”) and this will ensure that those sites don’t potentially conflict when data is changed on one site.

    I hope this helps!

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion or Feature Request’ is closed to new replies.