├── dataviews.xlsx ├── README.md ├── all-tracking-sql.html └── all-tracking-de.html /dataviews.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarketingThibs/sfmc-data-views/HEAD/dataviews.xlsx -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Create Marketing Cloud Data Views clones 2 | 3 | Two scripts (SSJS) that clones data extensions from the data views and create the queries that populate them. 4 | 5 | ## Steps 6 | 7 | 1. Download `all-data-views-de.html` and paste it into a _Cloud Page_ or a Script activity in the automation studio 8 | 2. Download `all-data-views-queries.html` and paste it into a _Cloud Page_ or a Script activity in the automation studio 9 | 3. Under `Email > subscribers > data extensions` location you will find your data extensions 10 | 4. Under `Automation Studio > Activities > All Queries` location you will find the query activities 11 | 12 | 13 | ## Are included 14 | 15 | - _Job 16 | - _Sent 17 | - _Click 18 | - _Complaint 19 | - _Open 20 | - _Subscribers 21 | - _SubscriberSMS 22 | - _UndeliverableSms 23 | - _Journey 24 | - _JourneyActivity 25 | - _Bounce 26 | - _PushAddress 27 | - _smsmessagetracking 28 | - _SMSSubscriptionLog 29 | 30 | ## Sample of Script 31 | ### data extension 32 | ```html 33 | 63 | ``` 64 | 65 | ### query 66 | ```html 67 | 86 | ``` 87 | 88 | ## Going further 89 | - [Data views](https://help.salesforce.com/articleView?id=mc_as_data_views.htm&type=5) 90 | - [SSJS](https://developer.salesforce.com/docs/atlas.en-us.mc-programmatic-content.meta/mc-programmatic-content/ssjs_syntaxGuide.htm) 91 | -------------------------------------------------------------------------------- /all-tracking-sql.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /all-tracking-de.html: -------------------------------------------------------------------------------- 1 | 1078 | --------------------------------------------------------------------------------