Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Copy visits from one siteid to another on same server

$
0
0

@Papick_G_Taboada wrote:

Hi,

I had a wrong siteid deployed on my homepage for a few days. I would like to copy those visits to the correct siteId, but I am not sure if I just can merge by executing:

update piwik_log_conversion set idsite = 4 where idsite = 7 where server_time > "2017-06-01"
update piwik_log_conversion_item set idsite = 4 where idsite = 7 where server_time > "2017-06-01"
update piwik_log_link_visit_action set idsite = 4 where idsite = 7 where server_time > "2017-06-01"
update piwik_log_visit set idsite = 4 where idsite = 7 where visit_first_action_time > "2017-06-01"

did I miss something? If I am right, I might end up with too many new visits for this month, but the rest should be ok - what do you think?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles