<p>Doesn't look like Dukt Analytics has any tables it creates in the database, but it does require Dukt OAuth, which creates a <code>craft_oauth_providers</code> table and a <code>craft_oauth_tokens</code> table you could move over.</p>

<p>Both of the plugin save their plugin settings in the <code>craft_plugins</code> table, so you might want to move their rows over as well.</p>

CC BY-SA 3.0
2017-09-13T18:25:27.427Z
2017-09-13T18:25:27.427Z
Brad Bell
<p>I'm working on a new build of a site with a new database, I think that copying the plugin folder will not carry over the analytics statistics, are there database entries that I need to copy over?</p>

CC BY-SA 3.0
2017-09-13T17:42:45.443Z
Might be a silly question, but if it's a new site/database, why would you want analytics data for a different site?
Brad Bell
CC BY-SA 3.0
2017-09-13T18:15:08.530Z
Not a silly question, I meant a new build/site as in new database, same website
Jai Sandhu
<plugins><analytics>
Transfer Dukt Analytics to new build
# Transfer Dukt Analytics to new build

(Asked by: username_0 on 2017-09-13)

I'm working on a new build of a site with a new database, I think that copying the plugin folder will not carry over the analytics statistics, are there database entries that I need to copy over?

**Tags:** plugins, analytics
> **Comments:**
> **username_1**: Might be a silly question, but if it's a new site/database, why would you want analytics data for a different site?  
> **username_0**: Not a silly question, I meant a new build/site as in new database, same website  

---

## 1 answers

### Answer by username_1 on 2017-09-13. Score: 0 | Accepted answer

Doesn't look like Dukt Analytics has any tables it creates in the database, but it does require Dukt OAuth, which creates a `craft_oauth_providers` table and a `craft_oauth_tokens` table you could move over.

Both of the plugin save their plugin settings in the `craft_plugins` table, so you might want to move their rows over as well.


---

